Optimal Number Permutation

Problem Name:
Optimal Number Permutation
Site:CodeForces
Links:
Tags:
Problem setters: