摘要:
#include "iostream.h"using namespace std;int findMedian(int *A,int left,int right){ int center = (left+right)/2; if(A[left]>A[center]){ swap(A[left],... 阅读全文
posted @ 2014-12-05 19:53
bingtel
阅读(425)
评论(0)
推荐(0)
摘要:
快速排序#include "iostream.h"using namespace std;int findMedian(int *A,int left,int right){ int center = (left+right)/2; if(A[left]>A[center]){ swap(A[le... 阅读全文
posted @ 2014-12-05 19:03
bingtel
阅读(127)
评论(0)
推荐(0)
浙公网安备 33010602011771号