Rosetta Problems
← atcoder に戻る
Robot Going Back and Forth in a Hallway
https://atcoder.jp/contests/awc0092/tasks/awc0092_b