希爾排序+快速排序+堆排序

/* 10 11 43 97 34 28 92 0 2 343 543 */ #include<iostream> using namespace std; void Shell(int a[],int b,int t){//數據,增量,數據個數 int tem; for(int i=b;i<t;i++){ if(a[i]<a[i-b]){ tem=a[i];
相關文章
相關標籤/搜索