摘要: #include<bits/stdc++.h> using namespace std; int a[11][11]; bool visited[11]; void store_graph() { for(int i=1;i<=10;i++) for(int j=1;j<=10;j++) cin>> 阅读全文
posted @ 2020-01-31 16:28 acwarming 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #include<bits/stdc++.h> using namespace std; int a[11][11]; bool visited[11]; void store_graph(){//邻接矩阵存储图 int i,j; for(i = 1; i <= 10; i++) for(j = 1 阅读全文
posted @ 2020-01-31 16:26 acwarming 阅读(377) 评论(0) 推荐(0) 编辑