Borderou de evaluare (job #1838276)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 31 decembrie 2016 16:53:56
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In constructor ‘TrieNode::TrieNode()’: user.cpp:17:32: error: ‘memset’ was not declared in this scope memset(edges, 0, sizeof edges); ^ user.cpp: In function ‘void insert_new_word(char (&)[20])’: user.cpp:34:33: error: ‘strlen’ was not declared in this scope int newWordLen = strlen(newWord); ^ user.cpp: In function ‘int number_of_occurences(char (&)[20])’: user.cpp:68:30: error: ‘strlen’ was not declared in this scope int newWordLen = strlen(word); ^ user.cpp: In function ‘int longest_prefix(char (&)[20])’: user.cpp:79:30: error: ‘strlen’ was not declared in this scope int newWordLen = strlen(word); ^ user.cpp: In function ‘int main()’: user.cpp:105:40: error: ‘strlen’ was not declared in this scope delete_word(root, tmp, 0, strlen(tmp)); ^

Ceva nu functioneaza?