Rosetta Problems
← atcoder に戻る
Exploring Another Space
https://atcoder.jp/contests/ahc022/tasks/ahc022_a