-
哈夫曼编码
程序是要建立一个哈弗曼树,并利用哈夫曼树求相应编码和译码,根据输入的一串电文(字符串)来设计哈夫曼树,并根据哈弗曼树求出每个字符相应的编码,最后根据已知的编码,随机组合输入编码串,根据哈弗曼编码和哈弗曼树求出译码内容。
主要输入形式为一串字符串例如:abcd
输入的范围就是这26个字母,不限大小写,定义最多输入的字符不超过100个。
输出的形式根据要求,输入字符串后,要输出每个字符及其权值(出现次数);
然后再输入要译码的编码串,输出译码内容。
- 2022-03-16 10:05:21下载
- 积分:1
-
素数的求法,用vb编写的
素数的求法,用vb编写的-primes for the law, prepared by using vb
- 2022-06-03 15:00:46下载
- 积分:1
-
basic data structure class definition and realization : MyStack, MyPoint, MyArc,...
基本数据结构类的定义和实现: MyStack ,MyPoint,MyArc,Graph,MyQueuesMyStack为构造的一个通用的C++模版堆栈类 MyPoint为一个坐标结构MyArc为带权的边类Graph为临街矩阵表示的图MyQueues为按权值顺序存储的边的队列-basic data structure class definition and realization : MyStack, MyPoint, MyArc, Graph, MyQueuesMyStack for a generic structure of the C category MyPoint stack template for a structure MyArc to coordinate with the right side of the street like Graph Matrix plans MyQueues value of the order by the right side of the storage Queue
- 2023-08-10 15:55:02下载
- 积分:1
-
严蔚敏编写的《数据结构》第7章的答案,全部为源码
严蔚敏编写的《数据结构》第7章的答案,全部为源码-the answers of chapter 7 of a book called ‘Data Structures’ writen by Yan Wei Min
- 2022-03-13 00:24:29下载
- 积分:1
-
很好的一个源程序
很好的一个源程序-a good source
- 2022-01-26 05:34:24下载
- 积分:1
-
C + + 树示例
这是我的功课在我关于树的代码在 c + + 中的校园。如何创建树、 闹市、 dealocation、 查找数据、 将数据插入、 删除数据、 显示等。
- 2022-01-31 22:46:46下载
- 积分:1
-
Data structure, the classical algorithm, C language and double
数据结构,经典算法,C语言和BASIC语言双重代码动态演示程序-Data structure, the classical algorithm, C language and double-source dynamic language BASIC demo program
- 2022-07-04 00:21:08下载
- 积分:1
-
学生考勤管理系统 学生考勤管理系统 学生考勤管理系统
学生考勤管理系统 学生考勤管理系统 学生考勤管理系统-xueshengkaoqinguanlixitong
- 2022-02-10 03:47:06下载
- 积分:1
-
好用的仓库管理系统
好用的仓库管理系统-user-friendly Warehouse Management System
- 2022-03-25 13:08:30下载
- 积分:1
-
餐厅点菜系统,软件工程实习的例子,对理解软件工程的流程很有帮助...
餐厅点菜系统,软件工程实习的例子,对理解软件工程的流程很有帮助-Restaurant a la carte system, examples of software engineering practice of software engineering to understand the process very helpful
- 2023-03-02 10:20:04下载
- 积分:1