Rosetta Problems

ICPC 2023 miền Bắc - H: Inversions

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