Rosetta Problems

バブルソート機 (Bubble Sort Machine)

https://atcoder.jp/contests/joiopen2025/tasks/joiopen2025_a