Borderou de evaluare (job #3297419)

Utilizator Arhiva_Educationala_2Arhiva Educationala doi Arhiva_Educationala_2 Data 22 mai 2025 16:38:51
Problema Trie Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 100

Raport evaluator

Compilare: main.cpp: In function 'void insert(Trie*&, const std::string&, int)': main.cpp:20:27: warning: array subscript has type 'char' [-Wchar-subscripts] 20 | insert( root->c[str[idx]], str, idx + 1 ); | ^ main.cpp: In function 'void erase(Trie*&, const std::string&, int)': main.cpp:30:26: warning: array subscript has type 'char' [-Wchar-subscripts] 30 | erase( root->c[str[idx]], str, idx + 1 ); | ^ main.cpp: In function 'int count(Trie*, const std::string&, int)': main.cpp:38:33: warning: array subscript has type 'char' [-Wchar-subscripts] 38 | return count( root->c[str[idx]], str, idx + 1 ); | ^ main.cpp: In function 'int maxpref(Trie*, const std::string&, int)': main.cpp:44:39: warning: array subscript has type 'char' [-Wchar-subscripts] 44 | return 1 + maxpref( root->c[str[idx]], str, idx + 1 ); | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms303kbOK55
20ms303kbOK55
30ms303kbOK55
40ms303kbOK55
50ms303kbOK55
61ms303kbOK55
71ms303kbOK55
81ms303kbOK55
92ms557kbOK55
103ms1605kbOK55
114ms303kbOK55
128ms2916kbOK55
139ms2392kbOK55
149ms819kbOK55
159ms819kbOK510
1639ms20230kbOK5
179ms479kbOK510
1839ms15392kbOK5
199ms483kbOK510
2049ms25796kbOK5
Punctaj total100

Ceva nu functioneaza?