0_0_39771696_7737\Main.java:1: 错误: 非法字符: '#'
#include <iostream>
^
0_0_39771696_7737\Main.java:1: 错误: 需要class, interface或enum
#include <iostream>
^
0_0_39771696_7737\Main.java:2: 错误: 非法字符: '#'
#include <cstdio>
^
0_0_39771696_7737\Main.java:3: 错误: 非法字符: '#'
#include <cstring>
^
0_0_39771696_7737\Main.java:4: 错误: 非法字符: '#'
#include <algorithm>
^
0_0_39771696_7737\Main.java:6: 错误: 需要class, interface或enum
const int MAXN = 1000000;
^
0_0_39771696_7737\Main.java:7: 错误: 需要class, interface或enum
const int MAXM = 10000;
^
0_0_39771696_7737\Main.java:8: 错误: 需要class, interface或enum
int nextTable[MAXM];
^
0_0_39771696_7737\Main.java:9: 错误: 需要class, interface或enum
int text[MAXN];
^
0_0_39771696_7737\Main.java:10: 错误: 需要class, interface或enum
int pattern[MAXM];
^
0_0_39771696_7737\Main.java:12: 错误: 需要class, interface或enum
void GetNextTable(int m){//构造next数组
^
0_0_39771696_7737\Main.java:14: 错误: 需要class, interface或enum
nextTable[j] = -1;
^
0_0_39771696_7737\Main.java:15: 错误: 需要class, interface或enum
int t = nextTable[j];
^
0_0_39771696_7737\Main.java:16: 错误: 需要class, interface或enum
while(j < m){
^
0_0_39771696_7737\Main.java:19: 错误: 需要class, interface或enum
++j;
^
0_0_39771696_7737\Main.java:20: 错误: 需要class, interface或enum
nextTable[j] = t;
^
0_0_39771696_7737\Main.java:21: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:24: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:30: 错误: 需要class, interface或enum
int i = 0, j = 0;
^
0_0_39771696_7737\Main.java:31: 错误: 需要class, interface或enum
while(i < n && j < m){
^
0_0_39771696_7737\Main.java:34: 错误: 需要class, interface或enum
++j;
^
0_0_39771696_7737\Main.java:35: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:38: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:42: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:45: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:50: 错误: 需要class, interface或enum
scanf("%d",&T);
^
0_0_39771696_7737\Main.java:51: 错误: 需要class, interface或enum
while(T--){//样例数
^
0_0_39771696_7737\Main.java:54: 错误: 需要class, interface或enum
scanf("%d%d",&n,&m);
^
0_0_39771696_7737\Main.java:55: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i){//输入文本串
^
0_0_39771696_7737\Main.java:55: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i){//输入文本串
^
0_0_39771696_7737\Main.java:55: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i){//输入文本串
^
0_0_39771696_7737\Main.java:58: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:59: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i){//输入模式串
^
0_0_39771696_7737\Main.java:59: 错误: 需要class, interface或enum
for(int i = 0; i < n; ++i){//输入模式串
^
0_0_39771696_7737\Main.java:62: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:64: 错误: 需要class, interface或enum
if(res == -1){
^
0_0_39771696_7737\Main.java:67: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:71: 错误: 需要class, interface或enum
}
^
0_0_39771696_7737\Main.java:74: 错误: 需要class, interface或enum
}
^
39 个错误
|