【改良的选择排序 】

/* 改良的选择排序,需要堆积树 */ #include<stdio.h> #include<stdlib.h> #include<time.h> #define MAX 10 #define SWAP(x, y) {int t; t = x; x = y; y = t;} void createheap(int []); void heapsort(int []); int main(v
相关文章
相关标签/搜索