登录
首页 » Visual C++ » DS4

DS4

于 2015-06-06 发布 文件大小:101KB
0 417
下载积分: 1 下载次数: 2

代码说明:

  设电文字符集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]); main() { 变量说明; 输入字符集D及频率F; 调用Huffman_tree(H); 调用Huffman_code(code); 打印编码; Y 继续? N 停止 }

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • zip
    压缩与解压缩类;压缩文件至.zip包内,增加文件至.zip包内,及解压缩相关操作。(zip and unzip。)
    2013-10-14 10:16:38下载
    积分:1
  • ZIP
    zip压缩源代码,附有整个工程,保证能用,可应用于文件压缩,内存压缩(zip compressed source code, with the whole project, and ensure that use, can be applied to file compression, memory compression)
    2008-12-15 21:33:12下载
    积分:1
  • jpeg_decoder_play
    基于tinyjpeg的jpeg解压缩程序,可解码jpeg数据为YUV分量数据(Based Solutions tinyjpeg jpeg compression program, you can decode jpeg data to YUV component data)
    2015-08-20 16:23:30下载
    积分:1
  • cangkuguanli
    利用C++实现的插入,删除,增加接点等功能(The use of C++ Realized insert, delete, increase the contact and other functions)
    2008-12-29 21:36:59下载
    积分:1
  • reliability-assessment
    电力输发电系统可靠性评估程序 解析法 系统数据在压缩包里(Power transmission and generation system reliability evaluation process analytical method system data compression bag)
    2020-09-01 09:28:09下载
    积分:1
  • Dezender4.3
    说明:  黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版 黑刀Dezender4.3简体中文版(Black knife Black knife Dezender4.3 Simplified Chinese Simplified Chinese version of Dezender4.3 Simplified Chinese version of the black knife Dezender4.3)
    2010-03-21 07:30:14下载
    积分:1
  • GZIP例子
    利用gzip.dll解压http请求返回的内容。内附gzip.dll。参考网上资料自己写的VB6工程源码。自己编译EXE的时候注意把gzip.dll释放到exe所在目录。(Use gzip.dll to decompress the content returned by HTTP request. Gzip.dll is attached. Refer to the VB6 project source code written by myself.)
    2020-06-22 07:00:02下载
    积分:1
  • bnpts点云文件bunny
    bnpts点云文件 进过压缩处理 大约100000个点(bnpts)
    2010-11-01 10:57:16下载
    积分:1
  • MyBitMapCompress
    说明:  一个简单的32位位图压缩算法,基本思想是,扫描像素点,后面有雷同的就记下重复次数。(A simple 32-bit bitmap compression algorithm, the basic idea is to scan pixel, behind identical repetitions on the record.)
    2010-04-13 22:43:43下载
    积分:1
  • AES
    AES压缩技术编程源代码,包含压缩和解压全套源代码的完整工程(AES compression technology programming source code, including compression and decompression full source code of complete project )
    2015-12-24 11:09:07下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载