摘要: 一开始我想用优先队列来实现构造哈夫曼树,并以指针方式存储每个结点的左右儿子的地址 很自然的想到如下的代码 #include <iostream> #include <algorithm> #include <queue> using namespace std; const int MAX_N = 阅读全文
posted @ 2022-05-28 11:29 四季夏目天下第一 阅读(45) 评论(0) 推荐(0) 编辑