Rosetta Problems
← atcoder に戻る
Palace Guards
https://atcoder.jp/contests/awc0177/tasks/awc0177_b