Rosetta Problems
← atcoder に戻る
Deterministic Placing
https://atcoder.jp/contests/arc142/tasks/arc142_d