-
DOS年代TT打字练习软件里的打字游戏的翻版
DOS年代TT打字练习软件里的打字游戏的翻版-DOS era TT software typing practice typing games pirated
- 2022-03-22 15:03:09下载
- 积分:1
-
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路...
[输入]
图的顶点个数N,图中顶点之间的关系及起点A和终点B
[输出]
若A到B无路径,则输出“There is no path” 否则输出A到B路径上个顶点
[存储结构]
图采用邻接矩阵的方式存储。
[算法的基本思想]
采用广度优先搜索的方法,从顶点A开始,依次访问与A邻接的顶点VA1,VA2,...,VAK, 访问遍之后,若没有访问B,则继续访问与VA1邻接的顶点VA11,VA12,...,VA1M,再访问与VA2邻接顶点...,如此下去,直至找到B,最先到达B点的路径,一定是边数最少的路径。实现时采用队列记录被访问过的顶点。每次访问与队头顶点相邻接的顶点,然后将队头顶点从队列中删去。若队空,则说明到不存在通路。在访问顶点过程中,每次把当前顶点的序号作为与其邻接的未访问的顶点的前驱顶点记录下来,以便输出时回溯。
#include
int number //队列类型
typedef struct{
int q[20]
-[imported] map of the number of vertices N, Vertex map of the relationship between the starting point and end point A and B [output] if A to B without path then exporting "There is no path" Otherwise output A to B on the path vertices [storage structure] plan adopted adjacency matrix of storage. [Algorithm for the basic idea] BFS way from the vertex A, A visit followed with adjacent vertices VA1, VA2 ,..., VAK, visiting times, if not visit B, continue to visit with the VA1 adjacent vertices VA11, VA12 ,..., VA1M. VA2 and then
- 2022-01-25 22:50:29下载
- 积分:1
-
一个非常好的开放
一个很好的开源项目管理系统源代码,大家可以部署测试,看看效果如何。-A very good open-source project management system source code, we can deploy the test to see how.
- 2023-06-18 03:50:04下载
- 积分:1
-
csharp中异步变同步的基础类库,可以用来把大量的异步过程在同步过程中实现,可以参考相关的文章,因为原文章中这段代码都不完整,此处做了整理,把关键的代码补齐了...
csharp中异步变同步的基础类库,可以用来把大量的异步过程在同步过程中实现,可以参考相关的文章,因为原文章中这段代码都不完整,此处做了整理,把关键的代码补齐了-AsyncEnumerator and interlock source
- 2022-06-15 22:56:10下载
- 积分:1
-
1, using Spartan
1、 利用Spartan-3 Starter Board实验板上的旋转开关,设计一个通过旋转开关的方向来控制LED灯的依次点亮顺序的实验,并且要求可以循环点亮。-1, using Spartan-3 Starter Board test panel rotary switch, to design a switch by rotating the direction to control the LED lights in turn lit the order of experiments, and asked to circle lit.
- 2022-01-26 07:35:10下载
- 积分:1
-
The game is similar to the keyboard
该游戏类似键盘游戏。练习的键盘速度,很有趣。-The game is similar to the keyboard-based games. Exercise keyboard speed, very interesting
- 2022-02-15 00:09:14下载
- 积分:1
-
DomGroup 可以用来获取工作组信息
DomGroup 可以用来获取工作组信息-DomGroup Working Group can be used to obtain information
- 2022-02-27 02:00:33下载
- 积分:1
-
用MATLAB编程来实现语音信号中D比的计算,D比在说话人特征提取中有应用...
用MATLAB编程来实现语音信号中D比的计算,D比在说话人特征提取中有应用-MATLAB programming to voice signals over the D, D than in the Speaker feature extraction Applications
- 2023-01-20 08:00:04下载
- 积分:1
-
random use of the function
随机数函数的使用-random use of the function
- 2023-05-22 12:50:02下载
- 积分:1
-
股票交易买卖批量下单保存,察看交易数量和金额
股票交易买卖批量下单保存,察看交易数量和金额-Stock trading volume under the single-preservation, to see the number of transactions and amount of
- 2022-03-02 05:56:21下载
- 积分:1