Gardener and the Array

Problem Name:
Gardener and the Array
Site:CodeForces
Links:
Tags:
Problem setters: