摘要:
``` #include using namespace std; typedef long long LL; const int maxn=1e5+7; struct Edge { LL v, next; //v是指针 } star[maxn>n>>m; for(int i=1;i>num1>>num2; Addedge(num1,num2); } dfs1(1); system("pause" 阅读全文
posted @ 2020-03-21 18:30
snowink
阅读(268)
评论(0)
推荐(0)
摘要:
``` #include<bits/stdc++.h> using namespace std; typedef long long LL; const int maxn=1e5+7; struct Edge { LL v, next; //v是指针 } star[maxn<<1]; LL head 阅读全文
posted @ 2020-03-21 18:29
snowink
阅读(94)
评论(0)
推荐(0)
摘要:
#include<bits/stdc++.h> using namespace std; typedef long long LL; const int maxn=1e5+7; struct Edge { LL v, next; //v是指针 } star[maxn<<1]; LL head[max 阅读全文
posted @ 2020-03-21 18:24
snowink
阅读(440)
评论(0)
推荐(0)