摘要:
usingSystem; namespaceInsertionSorter { publicclassInsertionSorter { publicvoidSort(int[]list) { for(inti=1;i<list.Length;i++) { intt=list[i]; intj=i; while((j>0)&&(list[j-1]>t)) { list[j]=list[j-1]; --j; } list[j]=t; } ... 阅读全文
posted @ 2007-06-25 13:33
WEB-网站建设分享交流
阅读(123)
评论(0)
推荐(0)