Rosetta Problems

ナップザック問題(Alter)

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