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