Huffman#include #include #include #include #include /typedef int TElemType;const int UINT_MAX=1000;char str50;typedef struct int weight,K; int parent,lchild,rchild;HTNode,* HuffmanTree;typedef char *HuffmanCode;/-全局变量-HuffmanTree HT;HuffmanCode HC;int w50,i,j,n;char z50;int flag=0; int numb=0;/ -求哈夫曼编码- struct c