纯树状数组模板题 class Solution { private: const int mod=1000000007; int c[200010]; struct node{ int val,id; friend bool operator<(node &a,node& b){ return a.val<b.val; } }t[200010]; public: int InversePairs(vector<int> data) { int...