Rosetta Problems

Grid 3-coloring

https://atcoder.jp/contests/agc059/tasks/agc059_e