-
哈夫曼编码
程序是要建立一个哈弗曼树,并利用哈夫曼树求相应编码和译码,根据输入的一串电文(字符串)来设计哈夫曼树,并根据哈弗曼树求出每个字符相应的编码,最后根据已知的编码,随机组合输入编码串,根据哈弗曼编码和哈弗曼树求出译码内容。
主要输入形式为一串字符串例如:abcd
输入的范围就是这26个字母,不限大小写,定义最多输入的字符不超过100个。
输出的形式根据要求,输入字符串后,要输出每个字符及其权值(出现次数);
然后再输入要译码的编码串,输出译码内容。
- 2022-03-16 10:05:21下载
- 积分:1
-
Introduction to algorithms
说明: 《算法导论》原书名——Introduction to Algorithms,是2006年机械工业出版社出版出版的图书,作者是Thomas H.Cormen、Charles E.Leiserson等。(Introduction to algorithms)
- 2019-02-28 16:17:37下载
- 积分:1
-
用二分法解高阶方程的近似解。区间范围合计算精度可调,每一步的计算结果一列表的形式显示出来,一目了然...
用二分法解高阶方程的近似解。区间范围合计算精度可调,每一步的计算结果一列表的形式显示出来,一目了然-dichotomy solution with the higher-order equation approximate solution. The scope of a range accuracy adjustable every step of the calculation results in the form of a list show up clearly
- 2022-03-30 23:11:23下载
- 积分:1
-
017
广度优先搜索及深度优先搜索,用C语言实现,比较使用(Breadth-first search and depth first search, using C language, compared with)
- 2011-07-09 15:27:40下载
- 积分:1
-
饭店住房管理服务系统(C#.NET)
饭店住房管理服务系统(C#.NET)-hotel housing management system (C#.NET)
- 2022-06-02 12:54:59下载
- 积分:1
-
经典的C源集合
经典收藏c源程序-classic collections c source
- 2022-02-26 15:27:41下载
- 积分:1
-
数值计算的源代码,包括二分法,和弦表,肺伯格算法…
数值计算源代码,包括二分法,弦截法,龙贝格算法,下山法,牛顿迭代法-numerical source code, including the dichotomy, chord sheet, Lung Bergh algorithm, the mountain, the Newton iterative method
- 2022-05-18 20:34:13下载
- 积分:1
-
从ACCESS文件中提取DBF文件,可以将ACCESS文件中提取DBF文件,并建立一个数据库文件,包括ACCESS文件中的所有表....
从ACCESS文件中提取DBF文件,可以将ACCESS文件中提取DBF文件,并建立一个数据库文件,包括ACCESS文件中的所有表.-ACCESS documents from the DBF file extraction can be extracted ACCESS DBF file documents, and the establishment of a database file, including documents, the ACCESS all the tables.
- 2022-02-22 12:36:12下载
- 积分:1
-
运动会分数统计,我的课程设计,用c语言编写的,
运动会分数统计,我的课程设计,用c语言编写的,-Games Score statistics, my curriculum design, with c languages,
- 2023-04-08 07:55:03下载
- 积分:1
-
数据结构课程设计_任意大数的加减乘运算器
数据结构课程设计_任意大数的加减乘运算器-_ Data structure design curriculum arbitrary multiplication addition and subtraction of large numbers of devices
- 2022-01-26 06:17:45下载
- 积分:1