6.2.1邻接表示法 发布时间:2026/7/3 1:13:04 #include stdio.h #include cmath #define MaxVertexNum 100 #define INF INFINITY typedef char VertexType; typedef int EdgeType; typedef struct{ VertexType Vex[MaxVertexNum]; EdgeType Edge[MaxVertexNum][MaxVertexNum]; int vexnum,arcnum; }Mgraph;