02 2020 档案

摘要:#include <vector> #include <iostream> using namespace std; void quickSort(int* array, int start, int end) { if (start >= end) { return; } int i = star 阅读全文
posted @ 2020-02-15 18:19 yyanbiao 阅读(161) 评论(0) 推荐(0)
摘要:#include <vector> #include <iostream> using namespace std; //最大堆 void adjust(int i, vector<int>& array,int length) { while (i >= 0 && i < length / 2) 阅读全文
posted @ 2020-02-13 15:57 yyanbiao 阅读(138) 评论(0) 推荐(0)