-
这是PB的常用函数,对初学者有一定的帮助
这是PB的常用函数,对初学者有一定的帮助-This is a common function, for beginners is certainly helpful
- 2023-06-08 23:05:03下载
- 积分:1
-
用 C 编写的带音乐背景的"接龙"游戏
用 C 编写的带音乐背景的"接龙"游戏-C with the preparation of the background music of "word" game.
- 2022-04-02 01:43:23下载
- 积分:1
-
Netopia 是最棒的FC 模拟器之一,标准的XP界面,每次升级都会给我们带来惊喜,经过长期不断的升级已经变得很优秀了,数据库是它最大的特色,包含了许多ROM...
Netopia 是最棒的FC 模拟器之一,标准的XP界面,每次升级都会给我们带来惊喜,经过长期不断的升级已经变得很优秀了,数据库是它最大的特色,包含了许多ROM 的数据信息-Netopia is one of the best FC simulator, the standard XP interface, each upgrade will bring us surprise, after a long-term continuous upgrading have become very good, and the database is its most important feature of the ROM contains many Data Information
- 2022-05-17 05:39:13下载
- 积分:1
-
测试C语言子模块运行速度的C语言源程序
测试C语言子模块运行速度的C语言源程序-test C language module operating speed of C language source
- 2023-03-14 18:45:04下载
- 积分: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
-
程控交换与宽带交换课件,帮助大家学习,共同进步,希望大家也把课件上传,大家交流学习...
程控交换与宽带交换课件,帮助大家学习,共同进步,希望大家也把课件上传,大家交流学习-Program-controlled switching and broadband exchange of courseware to help everyone learn, common progress, I hope everyone also courseware upload, U.S. to exchange learning
- 2022-04-22 10:04:54下载
- 积分:1
-
java数据库驱动 对于数据库连接有作用
java数据库驱动 对于数据库连接有作用-java
- 2022-03-02 15:22:24下载
- 积分:1
-
九宫棋游戏源代码,Visual Basic,
九宫棋游戏,Visual Basic源代码,-JiuGongTu chess game, Visual Basic source code,
- 2022-02-13 22:30:40下载
- 积分:1
-
1104032024-王银章 -多关键字排序
这是一个对于多关键字排序的程序源码。本程序主要从一下入手
1、 伪随机生成的数据包含语文、数学、英语三科成绩。总成绩为语文、数学、英语三科成绩的和。学号按成绩数组的下标赋值,生成学生成绩记录,将该记录保存到txt文档中
2、 从上面的txt文档中读取数据到一个二维数组中,以便对学生信息进行处理
3、 在总分排序好的情况下,给出排序的优先关系,根据优先关系由低位向高位逐个关键字进行排序。
请点击左侧文件开始预览 !预览只提供20%的代码片段,完整代码需下载后查看 加载中 侵权举报
- 2023-05-16 13:50:02下载
- 积分:1
-
with multim2001 preparation, as a circuit beginners can learn reference
用multim2001编写,可以作为电路初学者的学习参考-with multim2001 preparation, as a circuit beginners can learn reference
- 2022-03-23 05:37:47下载
- 积分:1