无向图 c语言 (数据结构) #include#include#define N 100typedef struct{int vers[N];//顶点int arcs[N][N];//邻接矩阵int n,e;//n为顶点数,e为边}graph;void createUDG(graph *G){int i,j,k,a,b;printf("输入顶点数和边数:");scanf( Other 2023-12-09 49 点赞 0 评论 74 浏览