摘要: #include#includeusing namespace std;void ShellSort(int a[],int n){int d, i, j, temp;for(d=n/2;d>=1;d=d/2){for(i=d;i=0)&&(a[j]>temp);j=j-d){a[j+d]=a[j]... 阅读全文
posted @ 2014-05-27 22:36 yexuannan 阅读(137) 评论(0) 推荐(0)