输入8个字符(数目可以自己设定,需要改动程序中N的值),注意空格也算字符,然后输入权值,会显示构造的霍夫曼树及每个字符的编码...
于 2022-06-16 发布
文件大小:8.20 kB
0 132
下载积分: 2
下载次数: 1
代码说明:
输入8个字符(数目可以自己设定,需要改动程序中N的值),注意空格也算字符,然后输入权值,会显示构造的霍夫曼树及每个字符的编码-Encode:enter 8 characters,then enter 8 numbers,this program will print the huffman tree and each char s code.
下载说明:请别用迅雷下载,失败请重下,重下不扣分!
发表评论


