Equalize the Array

Problem Name:
Equalize the Array
Site:CodeForces
Links:
Tags:
Problem setters: