摘要: #include<bits/stdc++.h> using namespace std; bool pp=false; int n,m,wn; int a[105][2],w[1005][1005]; bool d[20]; int b[105][105]; vector<int> g[15]; i 阅读全文
posted @ 2023-08-01 17:03 竹余居居居居居 阅读(206) 评论(0) 推荐(0)
摘要: 图的存储和遍历 #include<bits/stdc++.h> using namespace std; int n; int a[15][15]; bool d[20]; bool b[20]; vector<int> g[15]; void dfs(int i){ d[i]=true; cout 阅读全文
posted @ 2023-08-01 15:01 竹余居居居居居 阅读(119) 评论(0) 推荐(0)