Rosetta Problems

城壁 (Rampart)

https://atcoder.jp/contests/joi2015ho/tasks/joi2015ho_e