Total cost

Problem Name:
Total cost
Site:HackerEarth
Links:
Tags:
Problem setters: