Borderou de evaluare (job #2271336)

Utilizator Dobricean_IoanDobricean Ionut Dobricean_Ioan Data 28 octombrie 2018 13:43:16
Problema Virus Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

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:54:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for ( int i = 0; i < a.size();++i) { ~~^~~~~~~~~~ main.cpp:55:3: warning: this 'while' clause does not guard... [-Wmisleading-indentation] while ( cur != root and ( cur -> son[a[i] -'0'] == NULL ) ) ^~~~~ main.cpp:57:4: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'while' if ( cur -> son[a[i]-'0'] != NULL) ^~ main.cpp: In function 'void addTrie(Trie*, int, int)': main.cpp:76:10: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if ( it == aux.size() ) ~~~^~~~~~~~~~~~~
Test Timp executie Memorie folosita Mesaj Punctaj/test
14ms393kbOK10
214ms262kbOK10
327ms393kbOK10
4236ms36171kbOK10
5379ms60141kbOK10
6230ms35897kbOK10
7480ms72331kbOK10
8232ms36290kbOK10
935ms4984kbOK10
1014ms2097kbOK10
Punctaj total100

Ceva nu functioneaza?