Rosetta Problems
← atcoder に戻る
Corridor of Adjacent Swaps
https://atcoder.jp/contests/awc0145/tasks/awc0145_d