0_0_38367286_26526.cpp:1:2: error: stray '#' in program
a#include <bits/stdc++.h>
^
0_0_38367286_26526.cpp:1:1: error: 'a' does not name a type
a#include <bits/stdc++.h>
^
0_0_38367286_26526.cpp: In function 'void AC::init()':
0_0_38367286_26526.cpp:12:37: error: 'memset' was not declared in this scope
memset(fail, 0, sizeof(fail));
^
0_0_38367286_26526.cpp: At global scope:
0_0_38367286_26526.cpp:20:17: error: variable or field 'insert' declared void
void insert(string s, int id) { // id 表示原始字符串的编号
^
0_0_38367286_26526.cpp:20:17: error: 'string' was not declared in this scope
0_0_38367286_26526.cpp:20:27: error: expected primary-expression before 'int'
void insert(string s, int id) { // id 表示原始字符串的编号
^
0_0_38367286_26526.cpp:103:1: error: expected '}' at end of input
}
^
|