Rosetta Problems

城壁 (Rampart)

https://hoj.hamako-ths.ed.jp/onlinejudge/problems/271