摘要: 今天又重新写了一次快排,发现之前写的有问题#include using namespace std;static int count=0;int find(int arr[],int left,int right){ int i=left,j=right-1; int temp=i; int t=arr[temp]; while(i=t) { j--; } if(it) { arr[temp]=arr[i]; arr[i]=t; ... 阅读全文
posted @ 2013-11-02 21:55 xshang 阅读(227) 评论(0) 推荐(0) 编辑