Borderou de evaluare (job #2270787)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 27 octombrie 2018 15:59:22
Problema Aho-Corasick Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 95

Raport evaluator

Compilare: main.cpp: In constructor 'Trie::Trie()': main.cpp:26:30: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(son ,NULL,sizeof son); ^ main.cpp: In function 'int main()': main.cpp:52:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i = 0; i < a.size();++i) { ~~^~~~~~~~~~ main.cpp:53:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( cur != root and ( cur -> son[a[i] -'a'] == NULL ) ) ^~~~~ main.cpp:55:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' if ( cur -> son[a[i]-'a'] != NULL) ^~ main.cpp: In function 'void addTrie(Trie*, int, int)': main.cpp:74:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( it == aux.size() ) ~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
32ms131kbOK5
42ms131kbOK5
52ms131kbOK5
613ms913kbOK5
722ms1306kbOK5
824ms1961kbOK5
925ms2224kbOK5
1022ms1568kbOK5
1122ms1306kbOK5
1222ms1830kbOK5
1310ms782kbOK5
1413ms1306kbOK5
1515ms1306kbOK5
1615ms1437kbOK5
1716ms1306kbOK5
1818ms1306kbOK5
1923ms2093kbOK5
20101ms4190kbTime limit exceeded0
Punctaj total95

Ceva nu functioneaza?