Rosetta Problems

Grid Filling

https://atcoder.jp/contests/awc0036/tasks/awc0036_e