Pagini recente » Borderou de evaluare (job #1080862) | Borderou de evaluare (job #662074) | Borderou de evaluare (job #2716442) | Borderou de evaluare (job #533021) | Borderou de evaluare (job #2065967)
Borderou de evaluare (job #2065967)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(char*, trie*)’:
user.cpp:18:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[x]==0)
^
user.cpp:19:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(cur==1)T->fiu[x]=new trie;
^
user.cpp:18:7: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(T->fiu[x]==0)
^
user.cpp:21:16: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[x]->ult!=cur)
^
user.cpp:23:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T->fiu[x]->ult=cur;
^
user.cpp:24:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
++T->fiu[x]->fr;
^
user.cpp:25:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[x]->fr==na && T->fiu[x]->fol2==1)
^
user.cpp:25:41: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[x]->fr==na && T->fiu[x]->fol2==1)
^
user.cpp:28:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T->fiu[x]->fol2=0;
^
user.cpp:31:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
adauga(p+1,T->fiu[x]);
^
user.cpp: In function ‘int main()’:
user.cpp:54:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
in>>cuv+1;
^
user.cpp:62:16: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
in>>cuv+1;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 456kb | OK | 10 |
| 2 | 0ms | 512kb | OK | 10 |
| 3 | 0ms | 592kb | OK | 10 |
| 4 | 0ms | 1060kb | OK | 10 |
| 5 | 4ms | 1804kb | OK | 10 |
| 6 | 4ms | 1920kb | OK | 10 |
| 7 | 12ms | 5908kb | OK | 10 |
| 8 | 12ms | 6000kb | OK | 10 |
| 9 | 16ms | 6044kb | OK | 10 |
| 10 | 12ms | 5816kb | OK | 10 |
| Punctaj total | 100 |