Rosetta Problems
← atcoder に戻る
Pushing Balls
https://atcoder.jp/contests/agc007/tasks/agc007_c