摘要:
#include<bits/stdc++.h> using namespace std; #define ll long long #define P pair<int,int> const ll INF=1e18; const int N=2e5+10; int head[N],ver[N],ed 阅读全文
摘要:
#include<bits/stdc++.h> #define ll long long #define lowbit(x) x&-x using namespace std; const int N=1e5+10; int f[N][40],a[N],n,m; void ST_prework() { for(int i=1;i<=n;i++) { f[i][0]=a[i]; } int t=lo 阅读全文
摘要:
#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 阅读全文