Borderou de evaluare (job #1116879)
Utilizator | Data | 22 februarie 2014 21:21:13 | |
---|---|---|---|
Problema | Trie | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:112:35: error: ‘strlen’ was not declared in this scope
add(&root, word, 0, strlen(word));
^
user.cpp:116:35: error: ‘strlen’ was not declared in this scope
del(&root, word, 0, strlen(word));
^
user.cpp:120:46: error: ‘strlen’ was not declared in this scope
g << countWord(&root, word, 0, strlen(word)) << "\n";
^
user.cpp:124:50: error: ‘strlen’ was not declared in this scope
g << longestPrefix(&root, word, 0, strlen(word)) << "\n";
^
user.cpp: In function ‘int countWord(TrieNode*, char*, int, int)’:
user.cpp:56:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !