摘要: 1:a=10,b=15,在不用第三方变题的前提下,把a,b的值互换a=a+b;b=a-b;a=(a-b)/2;b=b+a2:已知数组int[] max={6,5,2,9,7,4,0};用快速排序算法按降序对其进行排列,并返回数组using System; namespace VcQuickSort { /// <summary> /// ClassQuickSort 快速排序。 ///... 阅读全文
posted @ 2007-05-22 16:14 云梦泽 阅读(4521) 评论(2) 推荐(0) 编辑