0_0_38994472_15839\Main.java:1: 错误: 非法字符: '#'
#include<bits/stdc++.h>
^
0_0_38994472_15839\Main.java:1: 错误: 需要class, interface或enum
#include<bits/stdc++.h>
^
0_0_38994472_15839\Main.java:3: 错误: 需要class, interface或enum
typedef long long ll;
^
0_0_38994472_15839\Main.java:4: 错误: 需要class, interface或enum
const int mod=1e4+7;
^
0_0_38994472_15839\Main.java:5: 错误: 需要class, interface或enum
char x[200100];
^
0_0_38994472_15839\Main.java:6: 错误: 需要class, interface或enum
int nt[200100],m,cnt[200100];///cnt[i]代表长度为i的前缀出现次数
^
0_0_38994472_15839\Main.java:7: 错误: 需要class, interface或enum
void kmp()
^
0_0_38994472_15839\Main.java:10: 错误: 需要class, interface或enum
j=nt[0]=-1;
^
0_0_38994472_15839\Main.java:11: 错误: 需要class, interface或enum
i=0;
^
0_0_38994472_15839\Main.java:12: 错误: 需要class, interface或enum
while(i<m)
^
0_0_38994472_15839\Main.java:16: 错误: 需要class, interface或enum
nt[++i]=++j;
^
0_0_38994472_15839\Main.java:17: 错误: 需要class, interface或enum
}
^
0_0_38994472_15839\Main.java:22: 错误: 需要class, interface或enum
scanf("%d",&t);
^
0_0_38994472_15839\Main.java:23: 错误: 需要class, interface或enum
while(t--)
^
0_0_38994472_15839\Main.java:26: 错误: 需要class, interface或enum
scanf("%s",x);
^
0_0_38994472_15839\Main.java:27: 错误: 需要class, interface或enum
m=strlen(x);
^
0_0_38994472_15839\Main.java:28: 错误: 需要class, interface或enum
kmp();
^
0_0_38994472_15839\Main.java:29: 错误: 需要class, interface或enum
ll ans=0;
^
0_0_38994472_15839\Main.java:30: 错误: 需要class, interface或enum
fill(cnt,cnt+m+1,1);
^
0_0_38994472_15839\Main.java:31: 错误: 需要class, interface或enum
for(int i=m; i>=1; i--)
^
0_0_38994472_15839\Main.java:31: 错误: 需要class, interface或enum
for(int i=m; i>=1; i--)
^
0_0_38994472_15839\Main.java:31: 错误: 需要class, interface或enum
for(int i=m; i>=1; i--)
^
0_0_38994472_15839\Main.java:33: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++)
^
0_0_38994472_15839\Main.java:33: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++)
^
0_0_38994472_15839\Main.java:33: 错误: 需要class, interface或enum
for(int i=1; i<=m; i++)
^
0_0_38994472_15839\Main.java:35: 错误: 需要class, interface或enum
printf("%lld\n",ans);
^
0_0_38994472_15839\Main.java:36: 错误: 需要class, interface或enum
}
^
27 个错误
|