Rosetta Problems
← atcoder に戻る
Footsteps in the Hallway
https://atcoder.jp/contests/awc0048/tasks/awc0048_b