0_0_39753715_3719\Main.java:26: 错误: 需要class, interface或enum
}public static int KMP() {
^
0_0_39753715_3719\Main.java:28: 错误: 需要class, interface或enum
int i = 0, j = 0;
^
0_0_39753715_3719\Main.java:29: 错误: 需要class, interface或enum
while (i < n && j < m) {
^
0_0_39753715_3719\Main.java:32: 错误: 需要class, interface或enum
j++;
^
0_0_39753715_3719\Main.java:34: 错误: 需要class, interface或enum
} else {
^
0_0_39753715_3719\Main.java:37: 错误: 需要class, interface或enum
}
^
0_0_39753715_3719\Main.java:41: 错误: 需要class, interface或enum
} else {
^
0_0_39753715_3719\Main.java:44: 错误: 需要class, interface或enum
}
^
0_0_39753715_3719\Main.java:48: 错误: 需要class, interface或enum
public static void main(String[] args) {
^
0_0_39753715_3719\Main.java:50: 错误: 需要class, interface或enum
Scanner fin = new Scanner(System.in);
^
0_0_39753715_3719\Main.java:51: 错误: 需要class, interface或enum
T = fin.nextInt();
^
0_0_39753715_3719\Main.java:52: 错误: 需要class, interface或enum
while (T-- > 0) {
^
0_0_39753715_3719\Main.java:54: 错误: 需要class, interface或enum
m = fin.nextInt();
^
0_0_39753715_3719\Main.java:55: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++) {
^
0_0_39753715_3719\Main.java:55: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++) {
^
0_0_39753715_3719\Main.java:55: 错误: 需要class, interface或enum
for (int i = 0; i < n; i++) {
^
0_0_39753715_3719\Main.java:57: 错误: 需要class, interface或enum
a[i] = x;
^
0_0_39753715_3719\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_39753715_3719\Main.java:59: 错误: 需要class, interface或enum
for (int i = 0; i < m; i++) {
^
0_0_39753715_3719\Main.java:59: 错误: 需要class, interface或enum
for (int i = 0; i < m; i++) {
^
0_0_39753715_3719\Main.java:61: 错误: 需要class, interface或enum
b[i] = x;
^
0_0_39753715_3719\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_39753715_3719\Main.java:64: 错误: 需要class, interface或enum
if (k != -1) {
^
0_0_39753715_3719\Main.java:66: 错误: 需要class, interface或enum
} else {
^
0_0_39753715_3719\Main.java:68: 错误: 需要class, interface或enum
}
^
25 个错误
|