摘要: (L+R>>1) //取中点 ####排序:快排 注意边界问题的处理!!! #include <random> #define rd(a,b) a+rand()%(b-a+1) using namespace std; void qs(int a[],int l, int r){ if (l>=r) 阅读全文
posted @ 2022-02-26 09:22 Nolca 阅读(108) 评论(0) 推荐(0) 编辑