【数据结构】最小生成树Prim算法

//建立图的邻接矩阵储存结构 #include <stdio.h> #include <string.h> #define M 20 #define FINITY 5000 typedef struct { char vexs[M]; int edges[M][M]; int n,e; }Mgraph; typedef struct edgedata { int begin,en
相关文章
相关标签/搜索