资讯动态

6.2.1邻接表示法

发布时间:2026/10/4 4:39:38 来源:尧图企业网站定制
#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;

读完文章,也想定制专属网站?

尧图设计师 24 小时内与您沟通定制方案

免费获取报价 →
↑