Galaxy Expedition - 我的博客

编写自己的篇章

选择排序
堆排序的数组元素序号是从1开始的,因为堆实际上是一棵顺序存储(数组存储)的二叉排序树简单选择排序void SelectSort(SqList R[],int n) { int i,j,k; SqList tmp; f