摘要:
此算法为复习数据结构笔记#include <iostream> #include <ctime>using namespace std;//// 两值交换. //template <typename T>void swap1(T &x, T &y){ T temp = x; x = y; y = temp;}//下标从0开始 template <typename T>int partition(T a[], int startIndex, int endIndex){//快速排序中的一趟 int i = startIndex; i 阅读全文
posted @ 2013-05-29 11:56
盗草人
阅读(300)
评论(0)
推荐(0)

浙公网安备 33010602011771号