0_0_37506002_7564.cpp: In function 'void insert(int)':
0_0_37506002_7564.cpp:15:28: error: 'strlen' was not declared in this scope
int len=(int)strlen(str);
^
0_0_37506002_7564.cpp: In function 'void buildAC()':
0_0_37506002_7564.cpp:26:5: error: 'queue' was not declared in this scope
queue<int> q;
^
0_0_37506002_7564.cpp:26:11: error: expected primary-expression before 'int'
queue<int> q;
^
0_0_37506002_7564.cpp:29:9: error: 'q' was not declared in this scope
q.push(Trie[0][i]);
^
0_0_37506002_7564.cpp:31:12: error: 'q' was not declared in this scope
while(!q.empty()){
^
0_0_37506002_7564.cpp: In function 'void Query()':
0_0_37506002_7564.cpp:44:28: error: 'strlen' was not declared in this scope
int len=(int)strlen(str);
^
|