Rosetta Problems

Range Sort Query

https://atcoder.jp/contests/abc237/tasks/abc237_g