摘要: public class Main { //大根堆算法 public static void main(String[] args) { int []array = new int[]{0,53,17,78,9,45,65,87,32};//用a[0]=0是为了使用规则:某一个节点的序号/2,是其父 阅读全文
posted @ 2021-03-25 16:38 chenyuan# 阅读(82) 评论(0) 推荐(0)