为什么 这篇题解 中 qry 函数要 x--,并且求逆序对个数的时候为啥要 for (int i = n; i >= 1; i--) 这样倒过来循环。
qry
x--
for (int i = n; i >= 1; i--)