摘要: #include #include #include using namespace std; void QSort(int a[], int low, int high) { if(low>=high) //关于这个终止条件, 在下边处理后,low可能会大于或等于high { return; } int first = low; int last = high; int key = a... 阅读全文
posted @ 2017-09-24 20:08 diamondDemand 阅读(148) 评论(0) 推荐(0)
摘要: #include using namespace std; void QSort(int a[], int low, int high) { if(low>=high) //关于这个终止条件, 在下边处理后,low可能会大于或等于high { return; } int first = low; int last = high; ... 阅读全文
posted @ 2017-09-24 17:02 diamondDemand 阅读(198) 评论(0) 推荐(0)