Borderou de evaluare (job #2434023)

Utilizator AlexBolfaAlex Bolfa AlexBolfa Data 30 iunie 2019 13:19:09
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-32 | Vezi sursa
Scor 100

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:91:19: warning: array subscript has type 'char' [-Wchar-subscripts] if(t->child[ch] == false){ ^ main.cpp:92:20: warning: array subscript has type 'char' [-Wchar-subscripts] t->child[ch]= new trie(); ^ main.cpp:96: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
54ms131kbOK55
65ms131kbOK55
78ms131kbOK55
810ms131kbOK55
916ms262kbOK55
1023ms786kbOK55
1130ms262kbOK55
1246ms1572kbOK55
1356ms1310kbOK55
1458ms524kbOK55
1571ms393kbOK510
16133ms10223kbOK5
1797ms262kbOK510
18135ms7602kbOK5
1987ms262kbOK510
20150ms13762kbOK5
Punctaj total100

Ceva nu functioneaza?