摘要:
#include <iostream>#include <algorithm>#include <cstdio>#include <cstdlib>#include <ctime>using namespace std;const int NUM = 25;/** 这里默认使用的pivot是a[left] partition将 a[]分成两部分,左边的部分小于pivot,右边的部分大于pivot**////两种partition方式都是对的/*int partition(int a[],int left, int right) //分 阅读全文
posted @ 2012-05-03 23:03
KingsLanding
阅读(327)
评论(1)
推荐(0)
浙公网安备 33010602011771号