0_0_23422077_5655.cpp: In member function 'void _ac_automaton::clear()':
0_0_23422077_5655.cpp:34:31: error: 'memset' was not declared in this scope
memset(cnt, 0, sizeof(cnt));
^
0_0_23422077_5655.cpp: In member function 'void _ac_automaton::insert(char*)':
0_0_23422077_5655.cpp:52:24: error: 'strlen' was not declared in this scope
size_t l = strlen(a);
^
0_0_23422077_5655.cpp: In member function 'int _ac_automaton::query(char*)':
0_0_23422077_5655.cpp:89:24: error: 'strlen' was not declared in this scope
size_t l = strlen(a);
^
|