Rosetta Problems
← atcoder に戻る
Takahashi the Wall Breaker
https://atcoder.jp/contests/abc400/tasks/abc400_d