Rosetta Problems
← atcoder に戻る
Another Shuffle Window
https://atcoder.jp/contests/abc380/tasks/abc380_g