Rosetta Problems

Removing Blocks

https://atcoder.jp/contests/agc028/tasks/agc028_b