Ivan and the swimming pool

Problem Name:
Ivan and the swimming pool
Site:CodeForces
Links:
Tags:
Problem setters: