0_0_37448361_13648.cpp: In constructor 'node::node(bool, int, int)':
0_0_37448361_13648.cpp:11:37: error: 'memset' was not declared in this scope
{ memset(child, 0, sizeof(child)); }
^
0_0_37448361_13648.cpp: In function 'void Insert(const char*, int, int, int)':
0_0_37448361_13648.cpp:38:80: error: 'strncmp' was not declared in this scope
if (strncmp(dict[index], dict[trie[trie[rt].child[m]].index], i + 1) < 0)
^
0_0_37448361_13648.cpp: In function 'int main()':
0_0_37448361_13648.cpp:92:37: error: 'memset' was not declared in this scope
memset(prob, 0, sizeof(prob));
^
0_0_37448361_13648.cpp:96:39: error: 'strlen' was not declared in this scope
int len = strlen(dict[i-1]);
^
0_0_37448361_13648.cpp:100:66: error: 'strncmp' was not declared in this scope
if (j < len && !strncmp(dict[i], dict[i-1], j + 1))
^
|