Rosetta Problems

ICPC 2020 vòng Regional - G: Greatest Permutation

https://oj.vnoi.info/problem/icpc20_regional_g