CDN加速镜像 | 设为首页 | 加入收藏夹
当前位置: 首页 资源下载 文档资料 软件工程

文件名称:3

  • 所属分类:
  • 标签属性:
  • 上传时间:
    2013-06-05
  • 文件大小:
    253.04kb
  • 已下载:
    0次
  • 提 供 者:
  • 相关连接:
  • 下载说明:
    别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容来自于网络,使用问题请自行百度

对一篇由英文字母、空格、标点符号构成的文档,进行Huffman编码

数据输入:

由文件input.txt给出输入数据。

输入文件示例

input.txt

A priority queue is a queue where each element has a priority and the element with the highest

priority is at the front of the queue and will be the first element to be removed.

输出文件示例

output.txt

各字符对应的哈夫曼编码为:

A:0101001 空格:01 句号:0101000 a:11010 b:011001 c:0101100 d:010101 e: 111

f:010111 g:0101101 h:1000 i: 1001 l:01000 m:01101 n:10110 o:11011 p:101000

q:101001 r:0111 s:01001 t:1100 u:10111 v:011000 w:101010 y:101011

原文档的哈夫曼编码输出:0101001011010000111100111011011110011100101011(太长了,后面

就不输了。。。)-On the one by the English letters, spaces, punctuation marks consisting of documents, Huffman coding data input: the file input.txt given input data. Sample input file input.txt A priority queue is a queue where each element has a priority and the element with the highest priority is at the front of the queue and will be the first element to be removed. Example output file output.txt each character corresponding Huffman is: A: 0101001 space: 01 period: 0101000 a: 11010 b: 011001 c: 0101100 d: 010101 e: 111 f: 010111 g: 0101101 h: 1000 i: 1001 l: 01000 m: 01101 n: 10110 o: 11011 p: 101000 q: 101001 r: 0111 s: 01001 t: 1100 u: 10111 v: 011000 w: 101010 y: 101011 original document Huffman coding output: 0101001011010000111100111011011110011100101011 (too long, back on the do not lose ..)
(系统自动生成,下载前可以参看下载内容)

下载文件列表

实验三/
实验三/Debug/
实验三/Debug/huffman.obj
实验三/Debug/main.obj
实验三/Debug/vc60.idb
实验三/Debug/vc60.pdb
实验三/Debug/实验三.exe
实验三/Debug/实验三.ilk
实验三/Debug/实验三.pch
实验三/Debug/实验三.pdb
实验三/huffman.cpp
实验三/huffman.h
实验三/input.txt
实验三/main.cpp
实验三/output.txt
实验三/实验三.dsp
实验三/实验三.dsw
实验三/实验三.ncb
实验三/实验三.opt
实验三/实验三.plg

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 搜珍网是交换下载平台,只提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。更多...
  • 本站已设置防盗链,请勿用迅雷、QQ旋风等下载软件下载资源,下载后用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或换浏览器;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*快速评论: 推荐 一般 有密码 和说明不符 不是源码或资料 文件不全 不能解压 纯粹是垃圾
*内  容:
*验 证 码:
搜珍网 www.dssz.com