Cave Painting

Problem Name:
Cave Painting
Site:CodeForces
Links:
Tags:
Problem setters: