Rosetta Problems
← atcoder に戻る
Total Weight of Team Selection
https://atcoder.jp/contests/awc0038/tasks/awc0038_d