摘要: 输入一个 数n 代表叶节点数目 输入n个叶节点的权重 cnt建树,中序遍历输出每个叶节点的权重和哈夫曼码 #include <iostream>#include<algorithm>#include<queue> using namespace std;struct node{ int w; str 阅读全文
posted @ 2019-11-26 20:14 摸鱼选手LLF 阅读(151) 评论(0) 推荐(0)