實驗七(以鄰接矩陣爲儲存方式的廣度優先搜索和以鄰接表爲儲存方式的深度優先搜索方式)

#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
相關文章
相關標籤/搜索