八种排序方法(四)——快速排序

编译器:Xcode 编程语言:C++ios 源程序:web #include <iostream> using namespace std; int findPos(int a[],int low,int high) { //将小于t的元素赶到t的左边,大于t的元素赶到t的右边 int t=a[low]; while(low<high) { whi
相关文章
相关标签/搜索