Rosetta Problems

Free Contest 100 - GRIDCOLOR

https://oj.vnoi.info/problem/fc100_gridcolor