摘要:
// 插入排序 // i 代表已经排好序的最大坐标.范围[0,size-2]表示排好序的个数为[1,size-1] // temp 存储当前要插入的值。 // j代表与temp比较的坐标。范围[i,0] void insertSort(int* arrays, int size) { int temp,j; for (int i=0;i-1 && temp<arrays[j];... 阅读全文
posted @ 2008-09-04 17:04
Bobby Blue
阅读(85)
评论(0)
推荐(0)
浙公网安备 33010602011771号