摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int M=100055,inf=0x3f3f3f3f; int read(){ int ans=0,f=1,c=getchar(); 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> #include<queue> using namespace std; const int M=1000555,inf=1000000000; int read(){ int ans=0, 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; int read(){ int ans=0,f=1,c=getchar(); while(c<'0'||c>'9'){if(c=='-') f=-1 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; int n,m,ans,id[505],vis[105000]; char s[255],T[10005]; struct node{ int a[ 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int M=300055; int read(){ int ans=0,f=1,c=getchar(); while(c<'0'||c> 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int M=100005; int n,m,root; int c[M][2],fa[M],size[M]; bool rev[M]; 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; int n,m,ans,id[505],vis[105000]; char s[255],T[10005]; struct node{ int a[ 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int size=26,M=1000005; char c[M]; int w[255],n; struct node{ int sum 阅读全文
摘要:
#include<cstdio> #include<cstring> #include<algorithm> using namespace std; const int M=1000055; char stack[M],s[M],t[M],f[M],next[M]; int len,top; vo 阅读全文
摘要:
1 #include<cstdio> 2 #include<cstring> 3 #include<algorithm> 4 using namespace std; 5 const int maxn=1000005,inf=0x3f3f3f3f; 6 int n,m,sum=1,S,T; 7 lo 阅读全文