Rosetta Problems
← atcoder に戻る
蟻の移動
https://atcoder.jp/contests/past18-open/tasks/past18_o