HDU-1394(线段树)Minimum Inversion Number
Minimum Inversion Number传送门#include <iostream>#include<cstdio>#include<algorithm>using namespace std;#define lson l,m,rt<<1#define rson m+1,r,rt<<1|1typedef long long ll;const int