Adilbek and the Watering System

Problem Name:
Adilbek and the Watering System
Site:CodeForces
Links:
Tags:
Problem setters: