实验七(以邻接矩阵为储存方式的广度优先搜索和以邻接表为储存方式的深度优先搜索方式)

#include<stdio.h> #include<stdlib.h> #define MaxVertexNum 100 #define N 100 typedef char VertexType; typedef int EdgeType; int visited[N]; typedef struct { VertexType vexs[MaxVertexNum]; Edge
相关文章
相关标签/搜索