Rosetta Problems

数列の組み替え

https://atcoder.jp/contests/code-festival-2015-morning-hard/tasks/cf_2015_morning_hard_c