Pagini recente » Borderou de evaluare (job #2185172) | Borderou de evaluare (job #1709661) | Borderou de evaluare (job #284886) | Borderou de evaluare (job #819059) | Borderou de evaluare (job #2433993)
Borderou de evaluare (job #2433993)
Raport evaluator
Compilare:
main.cpp: In function 'void Lg(trie*)':
main.cpp:53:34: warning: array subscript has type 'char' [-Wchar-subscripts]
if(it==s.end() || t->child[ch] == false)
^
main.cpp:59:19: warning: array subscript has type 'char' [-Wchar-subscripts]
Lg(t->child[ch]);
^
main.cpp: In function 'int Cnt(trie*)':
main.cpp:66:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch] == false)
^
main.cpp:70:27: warning: array subscript has type 'char' [-Wchar-subscripts]
return Cnt(t->child[ch]);
^
main.cpp: In function 'void Del(trie*)':
main.cpp:80:20: warning: array subscript has type 'char' [-Wchar-subscripts]
Del(t->child[ch]);
^
main.cpp:82:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){
^
main.cpp:82:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){
^
main.cpp:84:27: warning: array subscript has type 'char' [-Wchar-subscripts]
delete t->child[ch];
^
main.cpp:85:20: warning: array subscript has type 'char' [-Wchar-subscripts]
t->child[ch]=0; ///Why?
^
main.cpp: In function 'void Add(trie*)':
main.cpp:99:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch] == false){
^
main.cpp:100:20: warning: array subscript has type 'char' [-Wchar-subscripts]
t->child[ch]= new trie();
^
main.cpp:105:20: warning: array subscript has type 'char' [-Wchar-subscripts]
Add(t->child[ch]);
^
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 | 3ms | 131kb | OK | 5 | 5 |
6 | 4ms | 131kb | OK | 5 | 5 |
7 | 6ms | 262kb | OK | 5 | 5 |
8 | 8ms | 262kb | OK | 5 | 5 |
9 | 13ms | 524kb | OK | 5 | 5 |
10 | 20ms | 1572kb | OK | 5 | 5 |
11 | 22ms | 262kb | OK | 5 | 5 |
12 | 42ms | 3014kb | OK | 5 | 5 |
13 | 47ms | 2490kb | OK | 5 | 5 |
14 | 45ms | 786kb | OK | 5 | 5 |
15 | 56ms | 786kb | OK | 5 | 10 |
16 | 135ms | 20459kb | OK | 5 |
17 | 75ms | 262kb | OK | 5 | 10 |
18 | 117ms | 14954kb | OK | 5 |
19 | 63ms | 393kb | OK | 5 | 0 |
20 | 98ms | 20496kb | Memory limit exceeded | 0 |
Punctaj total | 90 |