Simply Strange Sort

Problem Name:
Simply Strange Sort
Site:CodeForces
Links:
Tags:
Problem setters: