0_0_29375723_26913\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_29375723_26913\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_29375723_26913\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_29375723_26913\Main.java:4: 错误: 非法字符: '#'
#define maxn 400010
^
0_0_29375723_26913\Main.java:6: 错误: 需要class, interface或enum
int cmp(int *r,int a,int b,int l)
^
0_0_29375723_26913\Main.java:9: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:13: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:13: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:13: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:14: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[x[i]=r[i]]++;
^
0_0_29375723_26913\Main.java:14: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[x[i]=r[i]]++;
^
0_0_29375723_26913\Main.java:14: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[x[i]=r[i]]++;
^
0_0_29375723_26913\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:15: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:16: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[x[i]]]=i;
^
0_0_29375723_26913\Main.java:16: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[x[i]]]=i;
^
0_0_29375723_26913\Main.java:16: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[x[i]]]=i;
^
0_0_29375723_26913\Main.java:17: 错误: 需要class, interface或enum
for(j=1,p=1;p<n;j*=2,m=p)
^
0_0_29375723_26913\Main.java:17: 错误: 需要class, interface或enum
for(j=1,p=1;p<n;j*=2,m=p)
^
0_0_29375723_26913\Main.java:17: 错误: 需要class, interface或enum
for(j=1,p=1;p<n;j*=2,m=p)
^
0_0_29375723_26913\Main.java:19: 错误: 需要class, interface或enum
for(p=0,i=n-j;i<n;i++) y[p++]=i;
^
0_0_29375723_26913\Main.java:19: 错误: 需要class, interface或enum
for(p=0,i=n-j;i<n;i++) y[p++]=i;
^
0_0_29375723_26913\Main.java:20: 错误: 需要class, interface或enum
for(i=0;i<n;i++) if(sa[i]>=j) y[p++]=sa[i]-j;
^
0_0_29375723_26913\Main.java:20: 错误: 需要class, interface或enum
for(i=0;i<n;i++) if(sa[i]>=j) y[p++]=sa[i]-j;
^
0_0_29375723_26913\Main.java:20: 错误: 需要class, interface或enum
for(i=0;i<n;i++) if(sa[i]>=j) y[p++]=sa[i]-j;
^
0_0_29375723_26913\Main.java:21: 错误: 需要class, interface或enum
for(i=0;i<n;i++) wv[i]=x[y[i]];
^
0_0_29375723_26913\Main.java:21: 错误: 需要class, interface或enum
for(i=0;i<n;i++) wv[i]=x[y[i]];
^
0_0_29375723_26913\Main.java:21: 错误: 需要class, interface或enum
for(i=0;i<n;i++) wv[i]=x[y[i]];
^
0_0_29375723_26913\Main.java:22: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:22: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:22: 错误: 需要class, interface或enum
for(i=0;i<m;i++) ws[i]=0;
^
0_0_29375723_26913\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[wv[i]]++;
^
0_0_29375723_26913\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[wv[i]]++;
^
0_0_29375723_26913\Main.java:23: 错误: 需要class, interface或enum
for(i=0;i<n;i++) ws[wv[i]]++;
^
0_0_29375723_26913\Main.java:24: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:24: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:24: 错误: 需要class, interface或enum
for(i=1;i<m;i++) ws[i]+=ws[i-1];
^
0_0_29375723_26913\Main.java:25: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[wv[i]]]=y[i];
^
0_0_29375723_26913\Main.java:25: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[wv[i]]]=y[i];
^
0_0_29375723_26913\Main.java:25: 错误: 需要class, interface或enum
for(i=n-1;i>=0;i--) sa[--ws[wv[i]]]=y[i];
^
0_0_29375723_26913\Main.java:26: 错误: 需要class, interface或enum
for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
^
0_0_29375723_26913\Main.java:26: 错误: 需要class, interface或enum
for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
^
0_0_29375723_26913\Main.java:26: 错误: 需要class, interface或enum
for(t=x,x=y,y=t,p=1,x[sa[0]]=0,i=1;i<n;i++)
^
0_0_29375723_26913\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:30: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:32: 错误: 需要class, interface或enum
void calheight(int *r,int *sa,int n)
^
0_0_29375723_26913\Main.java:35: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) rank[sa[i]]=i;
^
0_0_29375723_26913\Main.java:35: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) rank[sa[i]]=i;
^
0_0_29375723_26913\Main.java:35: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) rank[sa[i]]=i;
^
0_0_29375723_26913\Main.java:36: 错误: 需要class, interface或enum
for(i=0;i<n;height[rank[i++]]=k)
^
0_0_29375723_26913\Main.java:36: 错误: 需要class, interface或enum
for(i=0;i<n;height[rank[i++]]=k)
^
0_0_29375723_26913\Main.java:36: 错误: 需要class, interface或enum
for(i=0;i<n;height[rank[i++]]=k)
^
0_0_29375723_26913\Main.java:37: 错误: 需要class, interface或enum
for(k?k--:0,j=sa[rank[i]-1];r[i+k]==r[j+k];k++);
^
0_0_29375723_26913\Main.java:37: 错误: 需要class, interface或enum
for(k?k--:0,j=sa[rank[i]-1];r[i+k]==r[j+k];k++);
^
0_0_29375723_26913\Main.java:38: 错误: 需要class, interface或enum
return;
^
0_0_29375723_26913\Main.java:39: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:41: 错误: 需要class, interface或enum
int mm[maxn];
^
0_0_29375723_26913\Main.java:42: 错误: 需要class, interface或enum
int best[20][maxn];
^
0_0_29375723_26913\Main.java:43: 错误: 需要class, interface或enum
void initRMQ(int n)
^
0_0_29375723_26913\Main.java:46: 错误: 需要class, interface或enum
for(mm[0]=-1,i=1;i<=n;i++)
^
0_0_29375723_26913\Main.java:46: 错误: 需要class, interface或enum
for(mm[0]=-1,i=1;i<=n;i++)
^
0_0_29375723_26913\Main.java:46: 错误: 需要class, interface或enum
for(mm[0]=-1,i=1;i<=n;i++)
^
0_0_29375723_26913\Main.java:48: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) best[0][i]=i;
^
0_0_29375723_26913\Main.java:48: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) best[0][i]=i;
^
0_0_29375723_26913\Main.java:48: 错误: 需要class, interface或enum
for(i=1;i<=n;i++) best[0][i]=i;
^
0_0_29375723_26913\Main.java:49: 错误: 需要class, interface或enum
for(i=1;i<=mm[n];i++)
^
0_0_29375723_26913\Main.java:49: 错误: 需要class, interface或enum
for(i=1;i<=mm[n];i++)
^
0_0_29375723_26913\Main.java:49: 错误: 需要class, interface或enum
for(i=1;i<=mm[n];i++)
^
0_0_29375723_26913\Main.java:50: 错误: 需要class, interface或enum
for(j=1;j<=n+1-(1<<i);j++)
^
0_0_29375723_26913\Main.java:50: 错误: 需要class, interface或enum
for(j=1;j<=n+1-(1<<i);j++)
^
0_0_29375723_26913\Main.java:53: 错误: 需要class, interface或enum
b=best[i-1][j+(1<<(i-1))];
^
0_0_29375723_26913\Main.java:54: 错误: 需要class, interface或enum
if(RMQ[a]<RMQ[b]) best[i][j]=a;
^
0_0_29375723_26913\Main.java:55: 错误: 需要class, interface或enum
else best[i][j]=b;
^
0_0_29375723_26913\Main.java:56: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:62: 错误: 需要class, interface或enum
t=mm[b-a+1];b-=(1<<t)-1;
^
0_0_29375723_26913\Main.java:62: 错误: 需要class, interface或enum
t=mm[b-a+1];b-=(1<<t)-1;
^
0_0_29375723_26913\Main.java:63: 错误: 需要class, interface或enum
a=best[t][a];b=best[t][b];
^
0_0_29375723_26913\Main.java:63: 错误: 需要class, interface或enum
a=best[t][a];b=best[t][b];
^
0_0_29375723_26913\Main.java:64: 错误: 需要class, interface或enum
return RMQ[a]<RMQ[b]?a:b;
^
0_0_29375723_26913\Main.java:65: 错误: 需要class, interface或enum
}
^
0_0_29375723_26913\Main.java:69: 错误: 需要class, interface或enum
a=rank[a];b=rank[b];
^
R:
|