vector<int> MySort(vector<int>& arr) { // write code here // C++快速排序,先用sort mark一下 // 貌似 c++ <algorithm>中的sort用的就是快速排序 sort(arr.begin(), arr.end()); return arr; }
vector<int> MySort(vector<int>& arr) { // write code here // C++快速排序,先用sort mark一下 // 貌似 c++ <algorithm>中的sort用的就是快速排序 sort(arr.begin(), arr.end()); return arr; }