数据结构实验之图论一:基于邻接矩阵的广度优先搜索遍历(二)

#include <bits/stdc++.h> using namespace std; int gra[105][105]; //创建邻接矩阵存储图 int que[200]; //数组模拟队列 int in = 0, out = 0; //队列头尾 int k, m, n; bool vi
相关文章
相关标签/搜索