Rosetta Problems
← atcoder に戻る
Balanced Team
https://atcoder.jp/contests/awc0103/tasks/awc0103_b