2017年11月2日

c 堆排序

摘要: #include <stdio.h> #include <stdlib.h> //堆调整,构建大顶堆,arr[]是待调整的数组,i是待调整的数组 //元素的位置,length是数组的长度 void HeapAdjust(int arr[], int i, int length) { int Chil 阅读全文

posted @ 2017-11-02 22:20 3r3r3www 阅读(238) 评论(0) 推荐(0) 编辑

导航