Minimizing the Sum

Problem Name:
Minimizing the Sum
Site:CodeForces
Links:
Tags:
Problem setters: