Pagini recente » Borderou de evaluare (job #2031282) | Borderou de evaluare (job #1380781) | Borderou de evaluare (job #2411993) | Borderou de evaluare (job #1656674) | Borderou de evaluare (job #2433991)
Borderou de evaluare (job #2433991)
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 |
| 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 | 23ms | 262kb | OK | 5 | 5 |
| 12 | 43ms | 3014kb | OK | 5 | 5 |
| 13 | 49ms | 2490kb | OK | 5 | 5 |
| 14 | 47ms | 786kb | OK | 5 | 5 |
| 15 | 55ms | 786kb | OK | 5 | 10 |
| 16 | 146ms | 20316kb | OK | 5 |
| 17 | 75ms | 262kb | OK | 5 | 10 |
| 18 | 132ms | 14942kb | OK | 5 |
| 19 | 68ms | 393kb | OK | 5 | 0 |
| 20 | 106ms | 20496kb | Memory limit exceeded | 0 |
| Punctaj total | 90 |