-
哈夫曼编/解码器
(1) 初始化。从终端读入字符集大小n,以及n个字符和n个权值,建立哈夫曼树,并将它存于文件hfmTree.txt中。
(2) 编码。利用已建好的哈夫曼树,对文件ToBeTra.txt中的正文进行编码,然后将结果存入文件CodeFil.txt中。
(3) 译码。利用已建好的哈夫曼树将文件CodeFile.txt中的代码进行译码,结果存入文件Textfile.txt中。
-Huffman encoder/decoder
- 2022-03-21 20:30:14下载
- 积分:1
-
数据结构实验报告
数据结构实验报告-experimental data structure report
- 2022-07-06 19:57:19下载
- 积分:1
-
求解最短路径的程序。根据迪杰斯特拉的算法思想写出的程序。运行环境VC++6.0...
求解最短路径的程序。根据迪杰斯特拉的算法思想写出的程序。运行环境VC++6.0-Procedures for solving the shortest path. Dijkstra" s algorithm based on ideas to write procedures. VC++6.0 environment
- 2022-06-13 02:34:10下载
- 积分:1
-
插入排序的直接改进算法
插入排序的直接改进算法--希尔排序算法.将用户输入的一列数按递增顺序排好并输出.以及直接插入冒泡选择排序算法的实现-inserted directly improve the ranking algorithm-- Hill sorting algorithms. Users input a few in increasing order to arrange and output. Bubble and direct insertion Selection Sorting Algorithm Implementation
- 2023-05-28 04:05:04下载
- 积分:1
-
问题描述:假设一个商店,有一个架子和一个仓库,当第…
问题描述: 假设一个商店,它有一个货架和一个仓库,当货架上的商品数量少于一定的数目时,从仓库运一定数量的商品摆到货架上,当仓库里的商品的数量少于一定的数目时,购买商品把仓库填满,商品的出售要按照商品的生产日期来,快要过期的商品要先出售。 解决问题的方法: 用了两个栈和 一个队列,把队列当作仓库,用一个栈作为货架,把另一个栈当作临时的存储箱。当要往货架上添商品时,先把作为货架的栈中的元素全都压到作为存储箱的栈中,再把仓库中的元素压到存储箱中,然后再把存储箱中的所有元素都压到货架上,这样,就能保证快要过期的商品先被出售。-Problem description : Suppose a shop, which has a shelf and a warehouse, when the merchandise on the shelves less than a certain quantity of the number, a certain number from the warehouses of goods on the shelves, when the warehouse volume of goods is less than certain number, purchase goods warehouse filled, the goods according to the sale of commodity production to date, is about to expire first sale of goods. The solution : a two stack and a queue, queue as a warehouse, used as a stack shelves, and another stack as a temporary storage bins. When to go to the shelves Tim commodity, first as a stack shelves of all elements of the pressure storage tank as the stack, then the warehouse down to the storage element box, and then s
- 2022-07-13 01:56:00下载
- 积分:1
-
定时备份Oracle数据库和文件的程序
支持RAR压缩功能
定时备份Oracle数据库和文件的程序
支持RAR压缩功能-Regularly back up Oracle databases and documents in support of RAR compression
- 2022-06-15 10:58:16下载
- 积分:1
-
ADO用Treeview显示数据库
ADO用Treeview显示数据库-ADO database shows with Treeview
- 2022-03-22 23:06:40下载
- 积分:1
-
access a database management system for the management of students, sql queries...
一个访问数据库的学生管理系统,在后台实现sql查询,详细程序看语句。文本
- 2022-01-26 00:52:43下载
- 积分:1
-
用c语言编写的学生成绩管理程序。有不完美之处。
用c语言编写的学生成绩管理程序。有不完美之处。-Using c language student performance management process. Have imperfections.
- 2022-03-04 04:16:13下载
- 积分:1
-
数据结构的链表使用
数据结构的链表使用-data structure using the Chain
- 2022-03-09 13:29:22下载
- 积分:1