摘要:
usingSystem; namespaceShellSorter { publicclassShellSorter { publicvoidSort(int[]list) { intinc; for(inc=1;inc<=list.Length/9;inc=3*inc+1); for(;inc>0;inc/=3) { for(inti=inc+1;i<=list.Length;i+=inc) { intt=list[i-1]; intj=i; while((... 阅读全文
posted @ 2007-06-25 13:35
WEB-网站建设分享交流
阅读(186)
评论(0)
推荐(0)