Borderou de evaluare (job #2405577)

Utilizator popabogdanPopa Bogdan Ioan popabogdan Data 14 aprilie 2019 17:43:59
Problema SETI Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'void insert(char*, int)': main.cpp:41:28: warning: array subscript has type 'char' [-Wchar-subscripts] if(curr -> nxt[S[i]] == NULL) ^ main.cpp:42:29: warning: array subscript has type 'char' [-Wchar-subscripts] curr -> nxt[S[i]] = new trieNode; ^ main.cpp:43:32: warning: array subscript has type 'char' [-Wchar-subscripts] curr = curr -> nxt[S[i]]; ^ main.cpp: In function 'int main()': main.cpp:103:55: warning: array subscript has type 'char' [-Wchar-subscripts] while(currNode != root && currNode -> nxt[C[i]] == NULL) ^ main.cpp:105:32: warning: array subscript has type 'char' [-Wchar-subscripts] if(currNode -> nxt[C[i]] != NULL) ^ main.cpp:106:44: warning: array subscript has type 'char' [-Wchar-subscripts] currNode = currNode -> nxt[C[i]]; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
110ms262kbOK10
25ms262kbOK10
35ms262kbOK10
424ms1835kbOK10
562ms14942kbOK10
665ms15073kbOK10
768ms15073kbOK10
8132ms65552kbMemory limit exceeded0
9124ms65552kbMemory limit exceeded0
10138ms21233kbOK10
Punctaj total80

Ceva nu functioneaza?