数据结构——Huffman-Tree

1 #include<iostream> 2 #include<stdlib.h> 3 using namespace std; 4 5 //- - - 定义哈夫曼树的结点结构体 - - - 6 typedef struct 7 { 8 int weight; //权值 9 int parent; //父结点 10 int
相关文章
相关标签/搜索