“快速排序”简便写法,一次遍历找到pivot int Partition(vector<int>& arr, int l, int r) { int i = l, pivot = arr[r]; //将数祖最后一位设为pivot