Rosetta Problems

Sorting a Segment

https://atcoder.jp/contests/agc038/tasks/agc038_b