摘要: 1045 快速排序 (25分) 求划分的主元(比左边的都大,右边的都小) #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> #include<strin 阅读全文
posted @ 2020-06-14 08:53 chstor 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1040 有几个PAT (25分) 和1045快排那个思想很像 左边、右边的分别累加在数组中存入 #include<iostream> #include<vector> #include<cctype> #include<map> #include<set> #include<sstream> #i 阅读全文
posted @ 2020-06-14 08:51 chstor 阅读(140) 评论(0) 推荐(0) 编辑