搜索资源列表
sjpeg
- /* Copyright (C) 2001-2006 artofcode LLC. All Rights Reserved. This file is part of GNU ghostscr ipt GNU ghostscr ipt is free software you can redistribute it and/or modify it under the terms of the version 2 of the GNU General Pub
DS4
- 设电文字符集D及各字符出现的概率F如下: D={a,b,c,d,e,f,g,h}(字符数n=8) F={5,29,7,8,14,23,3,11}( ) 编写完成下列功能的程序: ①构造关于F的Huffman树; ②求出并打印D总各字符的Huffman编码。 程序结构: 类型说明; 构造Huffman树的函数:Huffman_tree(H[m+1]); 求Huffman编码的函数:Huffman_code(code[n+1]); mai