Rosetta Problems

ICPC 2023 miền Bắc - C: Permutation

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