-
15大著名游戏之谜(15
著名的15谜游戏(15-puzzle )的Tcl/Tk版本,现在它可以有 4x4, 5x5 或6x6 的格子,所以更加有趣,改变图片也更加容易。 -mystery of the famous 15 games (15-puzzle) Tcl/Tk editions, it could 4x4, 5x5 or 6x6 lattice, the more interesting and change the picture much easier.
- 2022-06-11 13:50:33下载
- 积分:1
-
Mfc读取Excel中的数据
因为用mfc做了一个应用程序,需要在没有数据库的情况下,读取excel中的数据,需要注意的是要在文件名前面加上强制类型转换符L
- 2022-07-20 02:25:02下载
- 积分:1
-
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g ....
1.[问题描述]
编写递归算法,计算二叉树中叶子结点的数目
[输入]
按照先序序列的顺序输入该结点的内容。其输入abd eh cf i g .
[输出]
按中序序列输出,输出的结果为;dbheaficg并计算出二叉树中叶子结点的数目为4
[存储结构]
采用二叉表存储
[算法的基本思想]
采用递归方法建立和遍历二叉树。首先建立二叉树的根结点,然后建立其左右子树,直到空子树为止,中序遍历二叉树时,先遍厉左子树,后遍厉右子树,最后访问根结点。根据左右子树的最后一个结点计算出二叉树中叶子结点的数目。
程序如下:
#include
#include
#include"stdlib.h" -1. [Description of the issue] to prepare recursive algorithm, Binary calculation leaves the number of nodes [imported] in accordance with the first order input sequence in the order of the node contents. Input abd eh i g cf. [Output] by the order sequence output, the results of the output; dbheaficg calculated Binary leaf node to the number four [storage structure] Table 2 forks storage [ The basic idea algorithm] recursive method and traverse binary tree. First established binary tree root node, and then to build their son around the tree, the tree until the loopholes, which preorder binary tree, Li first times the left sub-tree, right af
- 2023-08-31 16:00:04下载
- 积分:1
-
线性表元素删除运算,删除线性表L中第i个位置上的元素
线性表元素删除运算,删除线性表L中第i个位置上的元素-linear elements to delete Table Operational delete Table L linear section i positions on the elements
- 2023-03-18 20:20:03下载
- 积分:1
-
The use of backtracking algorithm to solve n queens problem and are familiar wi...
利用回溯算法求解n皇后问题;并通过本例熟悉回溯算法在程序设计中的应用方法。-The use of backtracking algorithm to solve n queens problem and are familiar with the passage of the cases of backtracking algorithm in the program design should be applied.
- 2023-06-02 10:10:03下载
- 积分:1
-
用于车辆管理与监控,实现车辆登记查询与帮助
用于车辆管理与监控,实现车辆登记查询与帮助
- 2022-01-30 18:06:44下载
- 积分:1
-
个人信息系统
要控制我的信息系统是一个非常聪明的简单的项目。你可以学习如何添加、 更新、 删除和查询与 php mysql 语言......
- 2023-07-12 20:10:02下载
- 积分:1
-
一个效率还可以的配对堆
Fibonacci Heap太难写了
配对堆可以有效替代Fibonacci Heap
附带了用它实现的Dijkstra...
一个效率还可以的配对堆
Fibonacci Heap太难写了
配对堆可以有效替代Fibonacci Heap
附带了用它实现的Dijkstra
复杂度O(nlogn+e)
-An efficient matching can also be hard to heap Fibonacci Heap wrote a pairing heap Fibonacci Heap can be an effective alternative to use it comes with the realization of Dijkstra complexity O (nlogn+ E)
- 2022-06-13 04:20:15下载
- 积分:1
-
Access database user rights management procedures, Delphi, reprinted
Access数据库用户权限的管理程序,Delphi,转载-Access database user rights management procedures, Delphi, reprinted
- 2022-05-16 21:51:45下载
- 积分:1
-
one for the good dao database development overseas.
一个作的很好的dao数据库开发,值得一看。-one for the good dao database development overseas.
- 2022-08-25 02:30:44下载
- 积分:1