首页 > TAG信息列表 > numv

邻接矩阵

const int maxvex = 100; const int INF = 65535; struct graph { int v[maxvex]; int arc[maxvex][maxvex]; int numv, nume; }; void create(graph* G) { int i, j, k, w; cin >> G->numv >> G->nume; for (int i = 0; i < G->numv; i++) {