-
多项式的计算器,可以用来加减乘除各类多项式并得出正确结果...
多项式的计算器,可以用来加减乘除各类多项式并得出正确结果-Polynomial calculator can be used all kinds of polynomial addition and subtraction multiplication and division and reached a correct result
- 2022-01-30 15:25:40下载
- 积分:1
-
人力资源管理系统
它的人力资源管理系统 !这是任何一家公司涵盖人力资源系统开发的数据库项目。它保持雇员的详情、 雇员的义务责任和公司的薪酬管理。
- 2023-07-26 21:45:03下载
- 积分:1
-
单源点最短路径算法
* 本程序用来实现单源点最短路径(E.Dijkstra)算法
* 在Turbo C2.0编译器下编译通过
* 算法过程中...
单源点最短路径算法
* 本程序用来实现单源点最短路径(E.Dijkstra)算法
* 在Turbo C2.0编译器下编译通过
* 算法过程中
* 每条边的两个顶点和权值由用户输入,格式:1 2 20
* 程序默认源点为第一个顶点
* 算法完成后输出路径长度和路径上的顶点
* 格式为:路径长度:目标顶点
- 2022-03-23 04:50:33下载
- 积分:1
-
这是网络上一位网友自己写的数据结构里一些算法的实现,对学习数据结构的初学者比较有帮助。...
这是网络上一位网友自己写的数据结构里一些算法的实现,对学习数据结构的初学者比较有帮助。-This is a network of friends to write their own data structure to achieve a number of algorithms, data structures for beginners to learn more to help.
- 2022-01-25 20:19:31下载
- 积分:1
-
用链表建立堆栈的简单代码,没有做很多的排错处理,只是了解了解堆栈的实现方式...
用链表建立堆栈的简单代码,没有做很多的排错处理,只是了解了解堆栈的实现方式
- 2022-08-18 06:10:02下载
- 积分:1
-
给定n 个整数a ,a , ,an 1 2 组成的序列, a n i | |£ ,1 £ i £ n。如果对于i...
给定n 个整数a ,a , ,an 1 2 组成的序列, a n i | |£ ,1 £ i £ n。如果对于i £ j ,有
0 = å
=
j
k i
k a ,则称序列区间i i j a , a , , a +1 为一个零和区间,相应的区间长度为j-i+1。-given n integers a, a, and an 1 2
- 2022-08-20 07:41:55下载
- 积分: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
-
红黑树实现, 红黑树实现,红黑树实现
红黑树实现, 红黑树实现,红黑树实现-Red and black tree realize, realize black tree, a red, black tree realize
- 2023-06-07 04:50:03下载
- 积分:1
-
WinMain 函数的初级代码
资源描述本代码比较适合初学者,刚接触过C++语言的童鞋,对代码不是怎么懂,可以参考学习。
- 2022-02-04 14:15:25下载
- 积分:1
-
使用VB+Arcengine,实现了最短路径的分析功能。
使用VB+Arcengine,实现了最短路径的分析功能。-The use of VB+ Arcengine, the implementation of the shortest path analysis.
- 2022-07-22 18:29:22下载
- 积分:1