minimize the loss

Problem Name:
minimize the loss
Site:HackerEarth
Links:
Tags:
Problem setters: