06-图1 列出连通集 (25 分) C++链接矩阵
06-图1 列出连通集 (25 分)
代码如下:
#include <iostream>
#define maxVertexNum 10
using namespace std;
typedef int graph;
typedef int vertex;
graph G[maxVertexNum][maxVertexNum];//邻接矩阵
bool visit[maxVer...
原创
2020-04-29 08:55:13 ·
170 阅读 ·
0 评论