Borderou de evaluare (job #1450272)

Utilizator Marius_mFMI-M2 Marius Melemciuc Marius_m Data 12 iunie 2015 12:12:49
Problema Trie Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘void pushToTrie(Trie*, int)’: user.cpp:44:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (letter == str.size()) { ^ user.cpp: In function ‘bool popFromTrie(Trie*, int)’: user.cpp:57:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (letter == str.size()) { // finished the current word ^ user.cpp: In function ‘int getNumberOfWords(Trie*, int)’: user.cpp:79:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (letter == str.size()) // we have reached the end of the word ^ user.cpp: In function ‘int getNumberOfPrefixes(Trie*, int)’: user.cpp:90:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (letter == str.size() || node->child[str[letter] - 'a'] == NULL) // if I've finished the current word or there isn't a child with words' next character ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms432kbOK55
20ms448kbOK55
30ms456kbOK55
40ms448kbOK55
50ms456kbOK55
60ms456kbOK55
74ms480kbOK55
84ms472kbOK55
98ms628kbOK55
1016ms1196kbOK55
1120ms520kbOK55
1236ms1996kbOK55
1340ms1712kbOK55
1444ms756kbOK55
1552ms732kbOK510
16108ms11596kbOK5
1776ms480kbOK510
18112ms8572kbOK5
1964ms480kbOK510
20128ms15420kbOK5
Punctaj total100

Ceva nu functioneaza?