堆排序(改良的选择排序)

#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(void) { int number[MAX+1]
相关文章
相关标签/搜索