摘要: 进行一次快排即可 class Solution { public: vector<int> exchange(vector<int>& nums) { int le = 0; int ri = nums.size() - 1; while(le<ri){ while (le < ri&&nums[r 阅读全文
posted @ 2020-08-29 21:06 知道了呀~ 阅读(291) 评论(0) 推荐(0) 编辑
摘要: #include<iostream> #include<string> #include<string.h> #include<stack> #include<queue> #include<map> #include<set> #include<vector> #define ll long lo 阅读全文
posted @ 2020-08-29 19:09 知道了呀~ 阅读(735) 评论(0) 推荐(0) 编辑