Pagini recente » Borderou de evaluare (job #394139) | Borderou de evaluare (job #3160854) | Borderou de evaluare (job #537489) | Borderou de evaluare (job #234520) | Borderou de evaluare (job #3144194)
Borderou de evaluare (job #3144194)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:35:40: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations]
35 | for( j = 0; j < 11; j++ ) { x[j] = 0; children[j][0] = children[j][1] = 0; parents[j] = 0; }
| ~~~~~^~~
main.cpp:35:21: note: within this loop
35 | for( j = 0; j < 11; j++ ) { x[j] = 0; children[j][0] = children[j][1] = 0; parents[j] = 0; }
| ~~^~~~
main.cpp:35:40: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [40, 43] is out of the bounds [0, 40] of object 'x' with type 'int [10]' [-Warray-bounds]
35 | for( j = 0; j < 11; j++ ) { x[j] = 0; children[j][0] = children[j][1] = 0; parents[j] = 0; }
| ~~~~~^~~
main.cpp:9:5: note: 'x' declared here
9 | int x[10];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 454kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |