Rosetta Problems

ICPC 2024 vòng Regional - D: Distinguished Permutation

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