Borderou de evaluare (job #2654262)

Utilizator PetyAlexandru Peticaru Pety Data 30 septembrie 2020 12:48:48
Problema Rps Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In constructor 'trie::trie()': main.cpp:12:36: warning: passing NULL to non-pointer argument 2 of 'void* memset(void*, int, size_t)' [-Wconversion-null] memset(next, NULL, sizeof(next)); ^ main.cpp: In function 'void baga(trie*, int)': main.cpp:32:25: warning: array subscript has type 'char' [-Wchar-subscripts] if (t->next[tip[s[poz]]] == NULL) ^ main.cpp:33:23: warning: array subscript has type 'char' [-Wchar-subscripts] t->next[tip[s[poz]]] = new trie; ^ main.cpp:34:26: warning: array subscript has type 'char' [-Wchar-subscripts] baga(t->next[tip[s[poz]]], poz + 1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12ms131kbOK5
22ms131kbOK5
35ms524kbOK5
44ms524kbOK5
55ms655kbOK5
66ms655kbOK5
7180ms33161kbOK5
8257ms42467kbOK5
9254ms48103kbOK5
10249ms47185kbOK5
11211ms29097kbOK5
12234ms37879kbOK5
13297ms44302kbOK5
14245ms43384kbOK5
15245ms48365kbOK5
16269ms48496kbOK5
17274ms48496kbOK5
18274ms48627kbOK5
19274ms54132kbOK5
20203ms4456kbOK5
Punctaj total100

Ceva nu functioneaza?