2011年6月13日
摘要: public static void QuickSort<T>(int sta, int end, List<T> rows, Func<List<T>,int ,int, bool> comp) { if (sta > end) { return; } int temp; //第一次交换 int temp3 = new Random().Next(sta, end); T x0; x0 = rows[sta]; rows[sta] = rows[temp3]; rows[temp3] = x0; temp = sta; for (int 阅读全文
posted @ 2011-06-13 18:21 人在做,人在看 阅读(262) 评论(0) 推荐(0) 编辑