摘要: #include<bits/stdc++.h> using namespace std; #define ll long long const int N=10005,M=5e5+5; int head[N],ver[M],edge[M],Next[M],d[N]; const int INF=0x7fffffff; queue<int>q; bool v[N]; int n,m,s,tot; v 阅读全文
posted @ 2019-08-20 20:35 hh13579 阅读(196) 评论(0) 推荐(0)
摘要: #include #include #include #include #include #include #include #include #include #include using namespace std; #define ll long long const int N=500005; int a[N],b[N],c[N],d[N],n,m=0; void ... 阅读全文
posted @ 2019-08-20 17:46 hh13579 阅读(121) 评论(0) 推荐(0)