0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
fail[next[u][c]] = next[v][c];
^
0_0_23422076_7059.cpp: In member function 'void _ac_automaton::clear()':
0_0_23422076_7059.cpp:34:31: error: 'memset' was not declared in this scope
memset(cnt, 0, sizeof(cnt));
^
0_0_23422076_7059.cpp: In member function 'void _ac_automaton::insert(char*)':
0_0_23422076_7059.cpp:52:24: error: 'strlen' was not declared in this scope
size_t l = strlen(a);
^
0_0_23422076_7059.cpp: In member function 'void _ac_automaton::build()':
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
fail[next[u][c]] = next[v][c];
^
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
0_0_23422076_7059.cpp:78:44: error: expected '}' at end of input
0_0_23422076_7059.cpp: At global scope:
0_0_23422076_7059.cpp:78:44: error: expected unqualified-id at end of input
|