摘要:
#include #include #include #include #define MAXNUM 60 typedef struct { char ch; int weight; //权值,这个字符出现的频率 int parent; int left; int right; }HuffNode; typedef struct { char... 阅读全文
posted @ 2016-04-20 19:01
请叫我凯凯大人
阅读(1348)
评论(0)
推荐(0)
摘要:
#include #include using namespace std; struct HuffNode //哈夫曼树结点结构 { int weight; //权值 int parent; //父结点 int lchild; //左儿子 int rchild; //右儿子 };... 阅读全文
posted @ 2016-04-20 18:50
请叫我凯凯大人
阅读(393)
评论(0)
推荐(0)

浙公网安备 33010602011771号