Pagini recente » Borderou de evaluare (job #1723446) | Borderou de evaluare (job #248391) | Borderou de evaluare (job #2763144) | Cod sursa (job #242592) | Borderou de evaluare (job #2490007)
Borderou de evaluare (job #2490007)
Raport evaluator
Compilare:
main.cpp: In function 'void Lg(trie*, char*)':
main.cpp:46:13: warning: NULL used in arithmetic [-Wpointer-arith]
if(*it==NULL || t->child[ch] == false)
^~~~
main.cpp:46:32: warning: array subscript has type 'char' [-Wchar-subscripts]
if(*it==NULL || t->child[ch] == false)
^
main.cpp:51:19: warning: array subscript has type 'char' [-Wchar-subscripts]
Lg(t->child[ch], it+1);
^
main.cpp: In function 'int Cnt(trie*, char*)':
main.cpp:56:13: warning: NULL used in arithmetic [-Wpointer-arith]
if(*it==NULL)
^~~~
main.cpp:58:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch] == false)
^
main.cpp:62:27: warning: array subscript has type 'char' [-Wchar-subscripts]
return Cnt(t->child[ch], it+1);
^
main.cpp: In function 'void Del(trie*, char*)':
main.cpp:65:13: warning: NULL used in arithmetic [-Wpointer-arith]
if(*it==NULL){
^~~~
main.cpp:71:20: warning: array subscript has type 'char' [-Wchar-subscripts]
Del(t->child[ch], it+1);
^
main.cpp:73:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){
^
main.cpp:73:49: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch]->nrchild == 0 && t->child[ch]->nr == 0){
^
main.cpp:75:27: warning: array subscript has type 'char' [-Wchar-subscripts]
delete t->child[ch];
^
main.cpp:76:20: warning: array subscript has type 'char' [-Wchar-subscripts]
t->child[ch]=0;
^
main.cpp: In function 'void Add(trie*, char*)':
main.cpp:80:13: warning: NULL used in arithmetic [-Wpointer-arith]
if(*it==NULL){
^~~~
main.cpp:87:19: warning: array subscript has type 'char' [-Wchar-subscripts]
if(t->child[ch] == false){
^
main.cpp:88:20: warning: array subscript has type 'char' [-Wchar-subscripts]
t->child[ch]= new trie;
^
main.cpp:92:20: warning: array subscript has type 'char' [-Wchar-subscripts]
| 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 | 9ms | 270kb | OK | 5 | 5 |
| 8 | 6ms | 262kb | OK | 5 | 5 |
| 9 | 13ms | 524kb | OK | 5 | 5 |
| 10 | 31ms | 1548kb | OK | 5 | 5 |
| 11 | 17ms | 262kb | OK | 5 | 5 |
| 12 | 64ms | 2985kb | OK | 5 | 5 |
| 13 | 46ms | 2490kb | OK | 5 | 5 |
| 14 | 69ms | 761kb | OK | 5 | 5 |
| 15 | 87ms | 765kb | OK | 5 | 10 |
| 16 | 143ms | 20316kb | OK | 5 |
| 17 | 75ms | 262kb | OK | 5 | 10 |
| 18 | 149ms | 14905kb | OK | 5 |
| 19 | 59ms | 262kb | OK | 5 | 10 |
| 20 | 157ms | 27262kb | OK | 5 |
| Punctaj total | 100 |