哈夫曼编码
#include"iostream"#include"fstream"using namespace std;typedef struct node{ char x; int rchild ; int lchild; int weight; int parent;}Node;void bianma(Node *tree,int n);void yima(Node *tree,int n,int *a);int main(){ int i,n; fstream fl1,fl2; fl1.open("inp
原创
2010-06-25 00:12:00 ·
441 阅读 ·
0 评论