-
用非
设有由n个不相同的整数组成的数列,记为:
a(1)、a(2)、……、a(n)且a(i)a(j) (ij)
例如3,18,7,14,10,12,23,41,16,24。
若存在i1
- 2022-02-27 03:47:28下载
- 积分:1
-
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果...
数 据 结 构 大型 作业3.1输入一个数列L,生成一棵二叉排序树T;3.2对二叉排序树T作中序遍历,输出结果;3.3计算二叉排序树T的平均查找长度, 输出结果;3.4判断二叉排序树T是否为平衡二叉树,输出信息“OK!”/“NO!”;3.5再使用上述数列L,生成平衡的二叉排序树BT,每当插入新元素,发现当前的二叉排序树BT不是平衡的二叉排序树,则立即将它转换成新的平衡的二叉排序树BT;3.6计算平衡的二叉排序树BT的平均查找长度,输出结果。3.6分析对比未平衡化的二叉排序树和平衡的二叉排序树的查找效率(最好、最坏平均比较关键字数)-data structure large operations into a 3.1 L series, generating a binary tree Sort T; 3.2 pair of two fork-tree T for medium preorder, output results; 3.3 Ranking calculation Binary Tree Search T"s average length of the output; 3. four judgment ordering two trees T fork whether balanced binary tree, the output message "OK!"/"NO!" ; again using the 3.5 series L, generate balanced binary tree sort BT, whenever insert a new element, found the current binary sort tree is not-BT Value of two binary sort tree, it will be immediately converted into the new balance of the two fork-tree BT; 3.6 Calculation balanced binary tree sort BT search length of the average output results. 3.6 Comparative Analysis of
- 2022-04-09 01:41:30下载
- 积分:1
-
The stack data structure in the classic method
数据结构中栈的经典算法――第一类背包问题,已经通过测试!-The stack data structure in the classic method- The first knapsack problem, has passed the test!
- 2022-02-05 06:54:50下载
- 积分:1
-
微软的三个连接数据库的包,连接数据库必需
微软的三个连接数据库的包,连接数据库必需-Microsoft
- 2022-03-25 01:35:52下载
- 积分:1
-
免费报告 2.33
免费FastReport®VCL是一个附加组件,它允许您的应用程序快速有效地产生报表。 FastReport®提供了所有必要的发展报告,其中包括一个可视化的报表设计器,报告的核心,和预览窗口的工具。它可以在Embarcadero的使用
- 2022-05-27 16:28:26下载
- 积分:1
-
要求完成以下功能:
1)能够从屏幕上读取一个学生的信息并将信息存入到数据文件中。
2)能够将指定的信息从文件中删除。
3)能够按编号、姓名对学生的信...
要求完成以下功能:
1)能够从屏幕上读取一个学生的信息并将信息存入到数据文件中。
2)能够将指定的信息从文件中删除。
3)能够按编号、姓名对学生的信息进行检索并将检索结果显示在屏幕上。
4)可以统计全部学生的总成绩,及其在班上的排名。
5)能够统计各科的平均成绩及及格率。
6)要求有错误提示功能,例如性别只能输入男女,输入错误提示重新输入。
7)如果检索不到相应的信息应提示用户。-asked to perform the following functions : 1) to read from the screen of a student"s information will be deposited into the data file. 2) can be designated information deleted from the document. 3), according to numbers, the names of the students will retrieve information retrieval results showed on the screen. 4) Statistical all students can be a total score, and the class rankings. 5) Statistics Branch to the average scores and passing rates. 6) require a functional error messages, such as sex between men and women can only import, importation of error messages to re-enter. 7) If less than the corresponding retrieval of information should prompt the user.
- 2023-04-01 16:00:03下载
- 积分:1
-
在字符串中查找数字的个数,输出数据个数和所有的数据
在字符串中查找数字的个数,输出数据个数和所有的数据-Numbers in the string to find the number, the output data and all the data on the number of
- 2022-01-25 18:22:58下载
- 积分:1
-
c some of the classic algorithms, over a good, suitable for beginners. can also...
c 的一些经典算法,满好的,适合初学者.
也可以当作小程序看,对初学者会很有帮助-c some of the classic algorithms, over a good, suitable for beginners. can also be read as a small program, it would be helpful for beginners
- 2023-07-24 00:55:03下载
- 积分:1
-
ODBC源代码:odbc_classgen
ODBC源代码:odbc_classgen-odbc code :odbc_classgen
- 2023-01-28 19:55:03下载
- 积分:1
-
1800数据结构及答案
1800道数据结构题和答案-1800 data structure and that the answer
- 2023-07-25 16:55:04下载
- 积分:1