给定一个整数数组,请输出其中逆序对个数。
第一行输入整数 nnn。 第二行输入 nnn 个整数。
输出一个整数。
1≤n≤2×1051\le n\le 2\times 10^51≤n≤2×105
3 1 2 3
0
使用您的 www.mathcoding.online 通用账户