摘要:
/***Straight Insertion Sort**/#define keyType int#include<stdio.h>int insertSort(keyType array[],int n){keyType tmp;for(int i = 1;i < n;i++){tmp = array[i];int j = i -1;while(j >= 0 &&... 阅读全文
posted @ 2010-10-16 23:43 生无涯 阅读(152) 评论(0) 推荐(0) 编辑