Rosetta Problems

Repainted Wall

https://atcoder.jp/contests/awc0026/tasks/awc0026_d