Rosetta Problems

Rough Sorting

https://onlinejudge.u-aizu.ac.jp/problems/2914