尧图精选

6.2.1邻接表示法

🕒 发布时间:2026/8/31 13:43:42 📁 来源:尧图网络
#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;
上一篇/下一篇内容由系统自动关联 返回资讯列表 →