Rosetta Problems
← atcoder に戻る
Moving Pieces on Line
https://atcoder.jp/contests/arc114/tasks/arc114_d