Pagini recente » Borderou de evaluare (job #3130659) | Borderou de evaluare (job #2714276) | Borderou de evaluare (job #1562918) | Borderou de evaluare (job #2830294) | Borderou de evaluare (job #2119192)
Borderou de evaluare (job #2119192)
Raport evaluator
Compilare:
user.cpp: In function ‘void adauga(char*, trie*, int)’:
user.cpp:20:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[delta]==0)
^
user.cpp:21:21: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T->fiu[delta]=new trie;
^
user.cpp:22:17: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T->fiu[delta]->fr++;
^
user.cpp:23:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
adauga(p+1,T->fiu[delta],ind+1);
^
user.cpp: In function ‘int cauta(char*, trie*, int)’:
user.cpp:30:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(T->fiu[delta]==0)return 0;
^
user.cpp:31:34: warning: array subscript has type ‘char’ [-Wchar-subscripts]
return cauta(p+1,T->fiu[delta],ind+1);
^
user.cpp: In function ‘int main()’:
user.cpp:40:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
in>>C+act;
^
user.cpp:49:14: warning: suggest parentheses around ‘+’ inside ‘>>’ [-Wparentheses]
in>>P+1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 8ms | 1368kb | Incorect | 0 |
2 | 4ms | 1316kb | Incorect | 0 |
3 | 144ms | Depăşit | Memory limit exceeded. | 0 |
4 | 144ms | Depăşit | Memory limit exceeded. | 0 |
5 | 144ms | Depăşit | Memory limit exceeded. | 0 |
6 | 148ms | Depăşit | Memory limit exceeded. | 0 |
7 | 148ms | Depăşit | Memory limit exceeded. | 0 |
8 | 148ms | Depăşit | Memory limit exceeded. | 0 |
9 | 144ms | Depăşit | Memory limit exceeded. | 0 |
10 | 156ms | 34108kb | Incorect | 0 |
Punctaj total | 0 |