Borderou de evaluare (job #2820113)

Utilizator florinrafiliuRafiliu Florin florinrafiliu Data 19 decembrie 2021 21:49:41
Problema Dictree Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Compilare: main.cpp: In member function 'void Trie::Erase(Trie::Node*, char*)': main.cpp:47:29: warning: array subscript has type 'char' [-Wchar-subscripts] 47 | Erase(p -> child[s[0]], s + 1); | ~~~^ main.cpp:48:26: warning: array subscript has type 'char' [-Wchar-subscripts] 48 | if(p -> child[s[0]] -> cnt == 0) { | ~~~^ main.cpp:49:40: warning: array subscript has type 'char' [-Wchar-subscripts] 49 | Node *temp = p -> child[s[0]]; | ~~~^ main.cpp:51:27: warning: array subscript has type 'char' [-Wchar-subscripts] 51 | p -> child[s[0]] = NULL; | ~~~^ main.cpp: In member function 'int Trie::Count(char*)': main.cpp:62:30: warning: array subscript has type 'char' [-Wchar-subscripts] 62 | if(p -> child[s[i]] != NULL) | ~~~^ main.cpp:63:35: warning: array subscript has type 'char' [-Wchar-subscripts] 63 | p = p -> child[s[i]]; | ~~~^ main.cpp: In member function 'int Trie::maxP(char*)': main.cpp:71:30: warning: array subscript has type 'char' [-Wchar-subscripts] 71 | if(p -> child[s[i]] != NULL) | ~~~^ main.cpp:72:35: warning: array subscript has type 'char' [-Wchar-subscripts] 72 | p = p -> child[s[i]]; | ~~~^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
137ms13115kbMemory limit exceeded00
225ms4460kbOK10
320ms7016kbOK10
430ms13111kbMemory limit exceeded0
530ms13111kbMemory limit exceeded0
629ms13111kbMemory limit exceeded0
729ms13111kbMemory limit exceeded0
829ms13111kbMemory limit exceeded0
929ms13111kbMemory limit exceeded0
1029ms13111kbMemory limit exceeded0
Punctaj total0

Ceva nu functioneaza?