摘要: 数据结构实验之图论一:基于邻接矩阵的广度优先搜索遍历Time Limit: 1000 msMemory Limit: 65536 KiBProblem Description给定一个无向连通图,顶点编号从0到n-... 阅读全文
posted @ 2018-06-12 21:31 hum0r0 阅读(13) 评论(0) 推荐(0)
摘要: #include #include #include using namespace std;int vis[105]//邻接矩阵表示图struct ENode{ int V1,V2; int wei... 阅读全文
posted @ 2018-06-12 21:07 hum0r0 阅读(8) 评论(0) 推荐(0)