-
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
-
比Borland的ComboBox多了个自动搜索中文字符串的功能
比Borland的ComboBox多了个自动搜索中文字符串的功能-Borland"s ComboBox than in the out-string Chinese automatic search function
- 2022-05-10 11:43:21下载
- 积分:1
-
PS2LCDController
PS2键盘LCD显示控制器的vhdl代码,很难得(PS2LCDController vhdl code)
- 2010-02-10 17:59:25下载
- 积分:1
-
tanshishezhidongfangbubai
这是一款具有登入和注册的贪吃蛇,而且有特效果实,增加了游戏的趣味性(This is a login and registration Snake)
- 2012-10-24 08:48:34下载
- 积分:1
-
CNLSE
说明: 自相似孤子锁模光纤激光器谐振腔输出激光的仿真(Simulation of self similar soliton mode-locked fiber laser)
- 2021-04-15 10:48:54下载
- 积分:1
-
classifier_cnn
利用MATLAB实现一个基于CNN的图像分类算法(Implementing an image classification algorithm based on CNN with MATLAB)
- 2019-01-13 16:04:12下载
- 积分:1
-
10399903
采用PQ,VF控制策略,包括风机、光伏等设备参与(Using PQ, VF control strategy, including fan, photovoltaic equipment participation)
- 2019-01-14 22:28:41下载
- 积分:1
-
一个在C++Builder下运行的录音程序,录音的格式是WAV
一个在C++Builder下运行的录音程序,录音的格式是WAV-One in C++ Builder run under the recording program, recording format is WAV
- 2022-02-26 21:01:53下载
- 积分:1
-
OPC通讯-常见问题集锦
说明: it is a question about we often meet in OPC communication.
- 2019-01-05 13:46:45下载
- 积分:1
-
PbootCMS是全新内核且永久开源免费的PHP企业网站开发建设管理系统
PbootCMS是全新内核且永久开源免费的PHP企业网站开发建设管理系统,是一套高效、简洁、 强悍的可免费商用的PHP CMS源码!(PHP enterprise exhibition website open source!)
- 2020-06-19 06:00:01下载
- 积分:1