摘要: code: #include<bits/stdc++.h>//xfl using namespace std; const int N = 2e5+10; int h[N],ne[N],to[N],siz[N]; int n,num,minn=N; void add(int a,int b){ne[ 阅读全文
posted @ 2020-12-29 16:57 纸上的彩虹 阅读(82) 评论(0) 推荐(0)
摘要: code: #include<bits/stdc++.h>//xfl using namespace std; const int N = 2e4+5; const int maxx = 0x3f3f3f3f; int f[N],o[N],to[N],d[N],n,m,k,v[N]; void fo 阅读全文
posted @ 2020-12-29 16:33 纸上的彩虹 阅读(43) 评论(0) 推荐(0)
摘要: code: #include<bits/stdc++.h> using namespace std; const int N = 2e5+5; int h[N],ne[N],to[N],d[N],num,x,y,n,m; queue<int>q; void add(int u,int v) { ne 阅读全文
posted @ 2020-12-29 16:17 纸上的彩虹 阅读(45) 评论(0) 推荐(0)