0_0_26561028_30413\Main.java:1: 错误: 非法字符: '#'
#include<stdio.h>
^
0_0_26561028_30413\Main.java:1: 错误: 需要class, interface或enum
#include<stdio.h>
^
0_0_26561028_30413\Main.java:2: 错误: 非法字符: '#'
#include<string.h>
^
0_0_26561028_30413\Main.java:4: 错误: 需要class, interface或enum
char s1[MAXN],s2[MAXN];
^
0_0_26561028_30413\Main.java:5: 错误: 需要class, interface或enum
int next[MAXN], len1,len2;
^
0_0_26561028_30413\Main.java:6: 错误: 需要class, interface或enum
void findnext(){
^
0_0_26561028_30413\Main.java:8: 错误: 需要class, interface或enum
next[0]=-1;
^
0_0_26561028_30413\Main.java:9: 错误: 需要class, interface或enum
while(s2[i]){
^
0_0_26561028_30413\Main.java:11: 错误: 需要class, interface或enum
i++;j++;
^
0_0_26561028_30413\Main.java:12: 错误: 需要class, interface或enum
next[i]=j;
^
0_0_26561028_30413\Main.java:13: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:15: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:19: 错误: 需要class, interface或enum
int i=0,j=0;
^
0_0_26561028_30413\Main.java:20: 错误: 需要class, interface或enum
while(i<len1+len2){
^
0_0_26561028_30413\Main.java:22: 错误: 需要class, interface或enum
i++;j++;
^
0_0_26561028_30413\Main.java:23: 错误: 需要class, interface或enum
if(!s2[j])return true;
^
0_0_26561028_30413\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:26: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:28: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:31: 错误: 需要class, interface或enum
len1=strlen(s1);len2=strlen(s2);
^
0_0_26561028_30413\Main.java:31: 错误: 需要class, interface或enum
len1=strlen(s1);len2=strlen(s2);
^
0_0_26561028_30413\Main.java:34: 错误: 需要class, interface或enum
if(kmp())puts("yes");
^
0_0_26561028_30413\Main.java:35: 错误: 需要class, interface或enum
else puts("no");
^
0_0_26561028_30413\Main.java:36: 错误: 需要class, interface或enum
}
^
0_0_26561028_30413\Main.java:38: 错误: 需要class, interface或enum
}
^
25 个错误
|