Rosetta Problems

Free Contest 146 - COLORCELLS

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