郝夫曼树

#include <stdio.h>#include <stdlib.h>#include <string.h>#include <malloc.h>#define Min 1000;typedef struct{ int weight; int parent; int lchild; int rchild;}HTNode,*HuffmanTree;typedef char **HuffmanCode;void Select(HuffmanTree ht,int n,int *s1,int *s2){ int i,c2; int c1=Min; for(i=1;i<=n...
C语言编码 | 2010-06-22 21:07 | 阅读 800 次 | 评论 0 条
文章归档
最新评论