Rosetta Problems
← atcoder に戻る
Working for the World
https://atcoder.jp/contests/maximum-cup-2013/tasks/maximum_2013_b