Borderou de evaluare (job #2433991)

Utilizator AlexBolfaAlex Bolfa AlexBolfa Data 30 iunie 2019 11:22:09
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 90

Raport evaluator

Compilare: main.cpp: In function 'void Lg(trie*, string_it)': main.cpp:50:34: warning: array subscript has type 'char' [-Wchar-subscripts] if(it==s.end() || t->child[ch] == false) ^ main.cpp:55:19: warning: array subscript has type 'char' [-Wchar-subscripts] Lg(t->child[ch], it+1); ^ main.cpp: In function 'int Cnt(trie*, string_it)': main.cpp:62:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(t->child[ch] == false) ^ main.cpp:66:27: warning: array subscript has type 'char' [-Wchar-subscripts] return Cnt(t->child[ch], it+1); ^ main.cpp: In function 'void Del(trie*, string_it)': main.cpp:75:20: warning: array subscript has type 'char' [-Wchar-subscripts] Del(t->child[ch], it+1); ^ main.cpp:77:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){ ^ main.cpp:77:49: warning: array subscript has type 'char' [-Wchar-subscripts] if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){ ^ main.cpp:79:27: warning: array subscript has type 'char' [-Wchar-subscripts] delete t->child[ch]; ^ main.cpp:80:20: warning: array subscript has type 'char' [-Wchar-subscripts] t->child[ch]=0; ^ main.cpp: In function 'void Add(trie*, string_it)': main.cpp:94:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(t->child[ch] == false){ ^ main.cpp:95:20: warning: array subscript has type 'char' [-Wchar-subscripts] t->child[ch]= new trie(); ^ main.cpp:99:20: warning: array subscript has type 'char' [-Wchar-subscripts] Add(t->child[ch], it+1); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
12ms131kbOK55
22ms131kbOK55
33ms131kbOK55
43ms131kbOK55
53ms131kbOK55
64ms131kbOK55
76ms262kbOK55
88ms262kbOK55
913ms524kbOK55
1020ms1572kbOK55
1123ms262kbOK55
1243ms3014kbOK55
1349ms2490kbOK55
1447ms786kbOK55
1555ms786kbOK510
16146ms20316kbOK5
1775ms262kbOK510
18132ms14942kbOK5
1968ms393kbOK50
20106ms20496kbMemory limit exceeded0
Punctaj total90

Ceva nu functioneaza?