Coloring grids

Problem Name:
Coloring grids
Site:HackerEarth
Links:
Tags:
Problem setters: