资 源 简 介
从终端读入要编码的字符串,对所输入的字符串进行频率统计并建立哈夫曼树。
输出每个字符的编码。
根据已有的各个字符的编码,输入一段正确的电文,然后对输入的电文进行译码。-Read from the terminal to encoded string, the string of the input frequency statistics and the establishment of Huffman tree. Output for each character encoding. On the basis of the various character encoding, enter the correct section of the message, and then the input message for decoding.