#abc190f. [abc190_f]Shift and Inversions

[abc190_f]Shift and Inversions

nn00nn - 11 全排列的数组,然后这个数组会循环左移 nn - 11, 求这个过程中数组的逆序数对是多少?