Being greedy for Water

Problem Name:
Being greedy for Water
Site:HackerEarth
Links:
Tags:
Problem setters: