class Solution { public: int MergeSort(vector <int> &arr, vector <int> &temp, int low, int high) { // 停止划分 if (low >= high) return 0; int mid = (low + high) / 2; long count = MergeSort(arr, temp, low, mid) + MergeSort(arr, temp, mid + 1, high); int i,j,k; for (k = low; k <= high; +...