huffman编码
代码说明:
说明: input The number of weights n (n>1) is first entered. Then the N weights are entered in turn (the weight is a positive integer greater than 0). output Corresponding to the input n weight value, the corresponding encoding is output in turn. At the time of coding, the left child branch code is 0 and the right child's branch code is 1
下载说明:请别用迅雷下载,失败请重下,重下不扣分!