Rosetta Problems

マス目のカット

https://atcoder.jp/contests/past202010-open/tasks/past202010_h