-
hulf
说明: 设计一个哈夫曼编码器
要求对一段数据序列进行哈夫曼编码,使得平均码长最短,输出各元素编码和编码后的数据序列。
① 组成序列的元素是[0-9]这10个数字,每个数字其对应的4位二进制数表示。比如5对应0101,9对应1001。
② 输入数据序列的长度为256。
③ 先输出每个元素的编码,然后输出数据序列对应的哈夫曼编码序列。(Designing a Huffman Encoder
Huffman coding is required for a data sequence to minimize the average code length and output the coded and coded data sequence of each element.
(1) The elements that make up the sequence are the 10 digits [0-9], and each digit is represented by its corresponding 4-bit binary number. For example, 5 corresponds to 0101, 9 corresponds to 1001.
(2) The length of the input data sequence is 256.
(3) First output the encoding of each element, and then output the Huffman encoding sequence corresponding to the data sequence.)
- 2019-06-19 21:49:58下载
- 积分:1
-
dkink the jigsaw puzzle, very very simple, new favorite.
dkink的拼图游戏,很小很简单,新手的最爱。-dkink the jigsaw puzzle, very very simple, new favorite.
- 2022-03-20 21:37:19下载
- 积分:1
-
Hp-Computing-Parallel-Computing
高性能并行计算
迟学斌 中国科学院计算机网络信息中心(High-performance parallel computing Chi Xuebin, Chinese Academy of Sciences Computer Network Information Center)
- 2013-03-13 11:07:20下载
- 积分:1
-
Delphi内存流读写、删除、输入输出实例
Delphi内存流读写、删除、输入输出实例,将若干个流合并成一个流,可以对其进行读出添加删除操作以及输出为文件或流。作者:吴平。这个比较专业了,本人Delphi水平菜,没搞懂,希望Delphi高人品鉴。
- 2023-09-09 08:05:03下载
- 积分:1
-
simple_web_browser
source code for a very simple web browser!
- 2009-03-18 08:03:24下载
- 积分:1
-
ArcGIS Engine + Access数据库开发的GIS系统,我的毕业设计
ARCGIS ENGINE+ACCESS数据库开发的一套GIS系统,本人的毕业设计-ARCGIS ENGINE+ ACCESS database developed by a GIS system, my graduation design
- 2022-01-31 18:06:05下载
- 积分:1
-
介绍粒子群算法的多用户检测。里面有四个程序。
介绍粒子群算法的多用户检测。里面有四个程序。-Particle Swarm introduced multi-user detection. There are four procedures.
- 2022-04-22 15:29:35下载
- 积分:1
-
关于C语言学习的详细资料,可以通过资料了解编程基本思路
关于C语言学习的详细资料,可以通过资料了解编程基本思路-On the C language learning detailed information can be programmed through the data to understand the basic idea
- 2022-02-21 12:44:28下载
- 积分:1
-
C语言内嵌汇编实例
C语言内嵌汇编实例-embedded C language compilation examples
- 2023-04-23 18:35:03下载
- 积分:1
-
Krazy Pipes game sources. Operational system: DOS. Compiles OK in Quickbasic.
Krazy Pipes game sources. Operational system: DOS. Compiles OK in Quickbasic.
- 2022-02-16 09:32:01下载
- 积分:1