Pagini recente » Borderou de evaluare (job #1757944) | Borderou de evaluare (job #2716503) | Borderou de evaluare (job #2603472) | Borderou de evaluare (job #2048049) | Borderou de evaluare (job #2434023)
Borderou de evaluare (job #2434023)
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 |
| 1 | 2ms | 131kb | OK | 5 | 5 |
| 2 | 2ms | 131kb | OK | 5 | 5 |
| 3 | 3ms | 131kb | OK | 5 | 5 |
| 4 | 3ms | 131kb | OK | 5 | 5 |
| 5 | 4ms | 131kb | OK | 5 | 5 |
| 6 | 5ms | 131kb | OK | 5 | 5 |
| 7 | 8ms | 131kb | OK | 5 | 5 |
| 8 | 10ms | 131kb | OK | 5 | 5 |
| 9 | 16ms | 262kb | OK | 5 | 5 |
| 10 | 23ms | 786kb | OK | 5 | 5 |
| 11 | 30ms | 262kb | OK | 5 | 5 |
| 12 | 46ms | 1572kb | OK | 5 | 5 |
| 13 | 56ms | 1310kb | OK | 5 | 5 |
| 14 | 58ms | 524kb | OK | 5 | 5 |
| 15 | 71ms | 393kb | OK | 5 | 10 |
| 16 | 133ms | 10223kb | OK | 5 |
| 17 | 97ms | 262kb | OK | 5 | 10 |
| 18 | 135ms | 7602kb | OK | 5 |
| 19 | 87ms | 262kb | OK | 5 | 10 |
| 20 | 150ms | 13762kb | OK | 5 |
| Punctaj total | 100 |