Rosetta Problems

切り取り線 (Cutting)

https://atcoder.jp/contests/joi2014ho/tasks/joi2014ho5