class Solution { private: static constexpr long long mod=1e9+7; public: //利用归并排序解决问题 int InversePairs(vector<int> data) { int ret=0; vector<int> temp(data.size()); merge_sort__(data,temp,0,(int)data.size()-1,ret); return ret; } void me...