0_0_22213300_31102\Main.java:1: 错误: 非法字符: '#'
#include<cstdio>
^
0_0_22213300_31102\Main.java:1: 错误: 需要class, interface或enum
#include<cstdio>
^
0_0_22213300_31102\Main.java:2: 错误: 非法字符: '#'
#include<cstring>
^
0_0_22213300_31102\Main.java:3: 错误: 非法字符: '#'
#include<algorithm>
^
0_0_22213300_31102\Main.java:4: 错误: 非法字符: '#'
#include<cstdlib>
^
0_0_22213300_31102\Main.java:5: 错误: 非法字符: '#'
#include<cmath>
^
0_0_22213300_31102\Main.java:6: 错误: 非法字符: '#'
#include<iostream>
^
0_0_22213300_31102\Main.java:7: 错误: 非法字符: '#'
#define M(x) memset(x,0,sizeof(x))
^
0_0_22213300_31102\Main.java:9: 错误: 需要class, interface或enum
const int N=100005;
^
0_0_22213300_31102\Main.java:11: 错误: 需要class, interface或enum
int sa[N],c[N],t1[N],t2[N],s[N],height[N],rk[N],f[N][22],n;
^
0_0_22213300_31102\Main.java:12: 错误: 需要class, interface或enum
char ch[N];
^
0_0_22213300_31102\Main.java:14: 错误: 需要class, interface或enum
void clear()
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:16: 错误: 需要class, interface或enum
M(sa);M(c);M(t1);M(t2);M(height);M(rk);M(f);M(s);
^
0_0_22213300_31102\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_22213300_31102\Main.java:22: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:22: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:22: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:23: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[i]=s[i]]++;
^
0_0_22213300_31102\Main.java:23: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[i]=s[i]]++;
^
0_0_22213300_31102\Main.java:23: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[i]=s[i]]++;
^
0_0_22213300_31102\Main.java:24: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:24: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:24: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:25: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[i]]]=i;
^
0_0_22213300_31102\Main.java:25: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[i]]]=i;
^
0_0_22213300_31102\Main.java:25: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[i]]]=i;
^
0_0_22213300_31102\Main.java:27: 错误: 需要class, interface或enum
for (int k=1;k<=n;k<<=1)
^
0_0_22213300_31102\Main.java:27: 错误: 需要class, interface或enum
for (int k=1;k<=n;k<<=1)
^
0_0_22213300_31102\Main.java:27: 错误: 需要class, interface或enum
for (int k=1;k<=n;k<<=1)
^
0_0_22213300_31102\Main.java:30: 错误: 需要class, interface或enum
for (int i=n-k;i<n;i++) y[p++]=i;
^
0_0_22213300_31102\Main.java:30: 错误: 需要class, interface或enum
for (int i=n-k;i<n;i++) y[p++]=i;
^
0_0_22213300_31102\Main.java:30: 错误: 需要class, interface或enum
for (int i=n-k;i<n;i++) y[p++]=i;
^
0_0_22213300_31102\Main.java:31: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) if (sa[i]>=k) y[p++]=sa[i]-k;
^
0_0_22213300_31102\Main.java:31: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) if (sa[i]>=k) y[p++]=sa[i]-k;
^
0_0_22213300_31102\Main.java:31: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) if (sa[i]>=k) y[p++]=sa[i]-k;
^
0_0_22213300_31102\Main.java:33: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:33: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:33: 错误: 需要class, interface或enum
for (int i=0;i<m;i++) c[i]=0;
^
0_0_22213300_31102\Main.java:34: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[y[i]]]++;
^
0_0_22213300_31102\Main.java:34: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[y[i]]]++;
^
0_0_22213300_31102\Main.java:34: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) c[x[y[i]]]++;
^
0_0_22213300_31102\Main.java:35: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:35: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:35: 错误: 需要class, interface或enum
for (int i=1;i<m;i++) c[i]+=c[i-1];
^
0_0_22213300_31102\Main.java:36: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[y[i]]]]=y[i];
^
0_0_22213300_31102\Main.java:36: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[y[i]]]]=y[i];
^
0_0_22213300_31102\Main.java:36: 错误: 需要class, interface或enum
for (int i=n-1;i>=0;i--) sa[--c[x[y[i]]]]=y[i];
^
0_0_22213300_31102\Main.java:37: 错误: 需要class, interface或enum
swap(x,y);
^
0_0_22213300_31102\Main.java:38: 错误: 需要class, interface或enum
x[sa[0]]=0;p=1;
^
0_0_22213300_31102\Main.java:38: 错误: 需要class, interface或enum
x[sa[0]]=0;p=1;
^
0_0_22213300_31102\Main.java:39: 错误: 需要class, interface或enum
for (int i=1;i<n;i++)
^
0_0_22213300_31102\Main.java:39: 错误: 需要class, interface或enum
for (int i=1;i<n;i++)
^
0_0_22213300_31102\Main.java:39: 错误: 需要class, interface或enum
for (int i=1;i<n;i++)
^
0_0_22213300_31102\Main.java:41: 错误: 需要class, interface或enum
if (p>=n) break;
^
0_0_22213300_31102\Main.java:42: 错误: 需要class, interface或enum
m=p;
^
0_0_22213300_31102\Main.java:43: 错误: 需要class, interface或enum
}
^
0_0_22213300_31102\Main.java:48: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) rk[sa[i]]=i;
^
0_0_22213300_31102\Main.java:48: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) rk[sa[i]]=i;
^
0_0_22213300_31102\Main.java:48: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) rk[sa[i]]=i;
^
0_0_22213300_31102\Main.java:49: 错误: 需要class, interface或enum
for (int i=0;i<n-1;i++)
^
0_0_22213300_31102\Main.java:49: 错误: 需要class, interface或enum
for (int i=0;i<n-1;i++)
^
0_0_22213300_31102\Main.java:49: 错误: 需要class, interface或enum
for (int i=0;i<n-1;i++)
^
0_0_22213300_31102\Main.java:52: 错误: 需要class, interface或enum
int j=sa[rk[i]-1];
^
0_0_22213300_31102\Main.java:53: 错误: 需要class, interface或enum
while (s[j+k]==s[i+k]) k++;
^
0_0_22213300_31102\Main.java:54: 错误: 需要class, interface或enum
height[rk[i]]=k;
^
0_0_22213300_31102\Main.java:55: 错误: 需要class, interface或enum
}
^
0_0_22213300_31102\Main.java:59: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) f[i][0]=height[i];
^
0_0_22213300_31102\Main.java:59: 错误: 需要class, interface或enum
for (int i=0;i<n;i++) f[i][0]=height[i];
^
0_0_22213300_31102\Main.java:60: 错误: 需要class, interface或enum
for (int k=1;(1<<k)<=n;k++)
^
0_0_22213300_31102\Main.java:60: 错误: 需要class, interface或enum
for (int k=1;(1<<k)<=n;k++)
^
0_0_22213300_31102\Main.java:60: 错误: 需要class, interface或enum
for (int k=1;(1<<k)<=n;k++)
^
0_0_22213300_31102\Main.java:61: 错误: 需要class, interface或enum
for (int i=0;i<n;i++)
^
0_0_22213300_31102\Main.java:61: 错误: 需要clas
|