Rosetta Problems

Pyramid Sorting

https://atcoder.jp/contests/ahc021/tasks/ahc021_a