Rosetta Problems
← atcoder に戻る
Shik and Game
https://atcoder.jp/contests/agc007/tasks/agc007_d