- 博客(1)
- 收藏
- 关注
原创 多重条件快排
多重条件快排 /*快排的多重条件排序*/ #include <iostream> #include <vector> using namespace std; auto cmp = [](vector<int>& a, vector<int>& b) { if (a[0] == b[0]) return b[1] > a[1]; return a[0] > b[0]; }; int partit
2020-08-25 10:17:02
263
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅