2016年2月29日
摘要:
1 #include<cstdio> 2 #include<iostream> 3 #define M 1000001 4 using namespace std; 5 int head[M],next[M],u[M],n,v[M],fa[M],cnt,q[M],f1[M],xia[M],ans; 阅读全文
摘要:
1 #include<cstdio> 2 #include<iostream> 3 #include<cstring> 4 #define N 200005 5 using namespace std; 6 int a[N],v[N],sa[2][N],rk[2][N],n,k; 7 char ch 阅读全文
摘要:
1 #include<cstdio> 2 #include<cstring> 3 #include<iostream> 4 using namespace std; 5 char ch[105],s[106]; 6 int n,m,a[6007][27],size=1,fail[6007],dui[ 阅读全文
摘要:
1 #include<cstdio> 2 #include<iostream> 3 using namespace std; 4 int T,a[100],n; 5 int main() 6 { 7 scanf("%d",&T); 8 for(;T;T--) 9 { 10 int a1=0,kg=0 阅读全文
摘要:
1 #include<cstdio> 2 #include<iostream> 3 #define M 2000000 4 int cnt,fa[M],n,m,ans[M],k,f[M],a[M],head[M],next[2*M],u[2*M]; 5 int zhao(int a1) 6 { 7 阅读全文
摘要:
1 #include<iostream> 2 #include<cstdio> 3 #include<cmath> 4 #define eps 1e-6 5 #define M 15 6 using namespace std; 7 double a[M],b[M][M]; 8 int n; 9 i 阅读全文