Painting the Array I

Problem Name:
Painting the Array I
Site:CodeForces
Links:
Tags:
Problem setters: