-
在 CCs 的 PIC 单片机输入液晶屏上的显示模拟
在这个项目中,PIC微控制器与CCS编译我从微控制器的模拟输入模拟和字符液晶显示它。我把模拟器写在proteus程序文件。Abedini
- 2022-04-30 02:41:12下载
- 积分:1
-
C++实现的复数+_*/运算,自己用了很多年了
C++实现的复数+_*/运算,自己用了很多年了-C++ complex
- 2022-02-16 03:10:28下载
- 积分:1
-
论坛 Script(php)
这是一个 php 的论坛。成员登录和有开机自检和评论的线程的能力。它是在附近的最好论坛脚本。演示 < a href ="www.naijaloaded.com"> < /a > 这里
- 2022-02-01 19:24:02下载
- 积分:1
-
dbExpress连接MYSQL4.0以上版本
用dbexpress连接mysql4.0以上的版本 -dbexpress connected with the above version mysql4.0
- 2022-08-05 13:00:35下载
- 积分:1
-
让系统启动时运行某个应用程序
让系统启动时运行某个应用程序-let activated a running application
- 2023-01-18 07:15:04下载
- 积分:1
-
这个是Haffman的实现方法,也就是还可以的代码,希望采纳,^_^...
这个是Haffman的实现方法,也就是还可以的代码,希望采纳,^_^-this is the method, which is also the code, adopted ^ _ ^
- 2022-02-25 15:33:11下载
- 积分:1
-
贴片三极管NPN的封装图,以供给需要的同行
贴片三极管NPN的封装图,以供给需要的同行-Transistor NPN SMD package plans to supply the needs of peers
- 2022-06-03 03:17:06下载
- 积分:1
-
跳跃表,可实现插入,删除,保存,恢复等功能
跳跃表,可实现插入,删除,保存,恢复等功能
-Jump table can be realized to insert, delete, save and restore functions
- 2023-02-13 21:05:04下载
- 积分:1
-
详细地介绍了世界上先进的表面处理工艺
很实用
详细地介绍了世界上先进的表面处理工艺
很实用-detailed introduction of the world"s advanced surface treatment technology is practical
- 2023-02-06 01:05: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