Borderou de evaluare (job #2894297)
Raport evaluator
Compilare:
main.cpp: In constructor 'N::N()':
main.cpp:9:46: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
9 | memset(this,0,sizeof(N)),memset(l,0,2);
| ^
main.cpp: In function 'void A(N*)':
main.cpp:22:14: warning: array subscript has type 'char' [-Wchar-subscripts]
22 | if(!r->l[*k])
| ^~
main.cpp:23:14: warning: array subscript has type 'char' [-Wchar-subscripts]
23 | r->l[*k]=new N();
| ^~
main.cpp:24:12: warning: array subscript has type 'char' [-Wchar-subscripts]
24 | A(r->l[*k++]);
| ^~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1ms | 184kb | Incorect | 0 |
2 | 15ms | 319kb | Incorect | 0 |
3 | 21ms | 434kb | OK | 10 |
4 | 168ms | 28610kb | Incorect | 0 |
5 | 412ms | 45547kb | Incorect | 0 |
6 | 245ms | 28319kb | Incorect | 0 |
7 | 539ms | 56705kb | OK | 10 |
8 | 298ms | 28639kb | Incorect | 0 |
9 | 24ms | 5824kb | Incorect | 0 |
10 | 15ms | 1196kb | Incorect | 0 |
Punctaj total | 20 |