Rosetta Problems

Swap Counter

https://atcoder.jp/contests/tupc2024/tasks/tupc2024_d