Rosetta Problems

Distributed Sorting

https://atcoder.jp/contests/xmascon16midnight/tasks/xmascon16_d