Rosetta Problems

ナップサック問題その2

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/879