-
该程序是分布计数排序,它是我所见过的各种排序方法中最快的,它的时间复杂度为O(n),但是这种排序适用于已知待排序列的上下限,并且如果上限与下限的差值比较大的话,...
该程序是分布计数排序,它是我所见过的各种排序方法中最快的,它的时间复杂度为O(n),但是这种排序适用于已知待排序列的上下限,并且如果上限与下限的差值比较大的话,空间消耗也比较大.-distribution of the program is counting sequencing, it is I have seen the fastest sorting methods, it"s time complexity of O (n), but this sort known to be applicable to sort out the range, and if the upper and lower limits of the relatively large margin, space consumption is relatively large.
- 2022-06-14 17:10:55下载
- 积分:1
-
curriculum design data structure Games Score statistics
数据结构课程设计 运动会分数统计-curriculum design data structure Games Score statistics
- 2022-03-22 05:26:41下载
- 积分:1
-
对文件进行文本文件处理
并采用递归法把查到的信息插入到树中...
对文件进行文本文件处理
并采用递归法把查到的信息插入到树中-a file processing program, process a file and insert the information from the file to a tree
- 2023-07-20 18:55:03下载
- 积分:1
-
HuffanCoding
读取数据,统计所得到的文件中每个字母的权值,创建哈夫曼树,哈夫曼编码。哈夫曼解码,解码后内容写入到指定的文件。
读取数据里面的内容是由英文单词组成。读取文件的时候传入文件存放的路径、读取方式以及读出以后存放的数组,最终可以得到一个存放目标文件内容的数组。
将得到的数组进行字母权值的统计,统计每个字母出现的次数,次数即为每个字母的权值。
将得到的字符数组与权值数组作为创建哈夫曼树的依据,哈夫曼树根据每个字母权值的大小来创建,每个节点,包括权值、父节点、左子、右子和字母本身。
根据哈夫曼树进行编码。形成目标文件的哈夫曼编码,将此编码返回。
根据哈夫曼树得到的数组即为解码数组,解码数组作为解码的结果返回。
写入输出文件,将解码得到的数组、文件的完整路径以及文件的写方式作为参数传入,将数组写入到相应的文件中。
(Read the data, statistical documents obtained weights for each letter, create a Huffman tree, Huffman coding. Huffman decoding, the decoded contents are written to the specified file.
Read the content inside is composed of English words. When the incoming file to read the file storage path, read mode and read out after storage array that can eventually get a storage target file contents of the array.
The resulting array of letter weights statistics, statistical number of occurrences of each letter, the number is the weight of each letter.
The resulting character array with the weights array as the basis for creating Huffman tree, Huffman tree based on the size of the weights of each letter to create, for each node, including weights, parent, left child, right child, and letter itself.
According to Huffman coding. The formation of the target file Huffman coding, this code returns.
According to Huffman decoding the resulting array is an array, the decoder decodes the result is retur)
- 2020-07-02 15:40:01下载
- 积分:1
-
人力资源管理系统的源代码和毕业论文
人力资源管理系统是一个典型的信息管理系统(MIS),本系统是一个为适应当前各个行业对人力资源信息管理的迫切需求而设...
人力资源管理系统的源代码和毕业论文
人力资源管理系统是一个典型的信息管理系统(MIS),本系统是一个为适应当前各个行业对人力资源信息管理的迫切需求而设计开发的软件系统,其开发主要包括后台数据库的建立和维护以及前端应用程序的开发两个方面,经过分析如此情况,我们使用DELPHI ,数据库等开发工具,利用其提供的各种面向对象的开发工具,尤其是数据窗口这一能方便而简洁操纵数据库的智能化对象,首先在短时间内建立系统应用原型,然后,对初始原型系统进行需求迭代,不断修正和改进,直到形成用户满意的可行系统.-err
- 2022-02-27 00:27:06下载
- 积分:1
-
实现md5文件电子签名,md5hash值计算,比较文件,自己可扩展功能实现几个文件对比,从而找出重复文件...
实现md5文件电子签名,md5hash值计算,比较文件,自己可扩展功能实现几个文件对比,从而找出重复文件-Md5 files to achieve electronic signature, md5hash calculated to compare documents, they can extend the functionality to achieve a number of document comparison, and to find duplicate files
- 2022-02-02 15:59:33下载
- 积分:1
-
c++中数据结构的链表处理程序
c++中数据结构的链表处理程序-c structure of the data processing procedures Chain
- 2023-06-16 14:50:04下载
- 积分:1
-
vc访问多个数据库。
vc访问多个数据库。-vc visit multiple databases.
- 2022-08-20 07:11:22下载
- 积分:1
-
女王
皇后控制问题 皇后控制问题-Queen
- 2022-08-12 07:40:59下载
- 积分:1
-
simulated people Maze, the main general operating procedures, data structure
模拟人走迷宫,主要实现一般操作的程序,数据结构-simulated people Maze, the main general operating procedures, data structure
- 2022-02-01 07:13:55下载
- 积分:1