Pagini recente » Borderou de evaluare (job #3154920) | Borderou de evaluare (job #3150791) | Borderou de evaluare (job #3201311) | Borderou de evaluare (job #3150306) | Borderou de evaluare (job #3150315)
Borderou de evaluare (job #3150315)
Raport evaluator
Compilare:
main.cpp:31:23: warning: overflow in conversion from 'int' to 'short int' changes value from '65536' to '0' [-Woverflow]
31 | const short int L = 1 << 16;
| ~~^~~~~
main.cpp: In function 'void test()':
main.cpp:91:9: warning: 'memset' used with length equal to number of elements without multiplication by element size [-Wmemset-elt-size]
91 | memset( v, 0, sizeof(v) );
| ~~~~~~^~~~~~~~~~~~~~~~~~~
main.cpp:106:21: warning: division by zero [-Wdiv-by-zero]
106 | aux = (v[i].a.x / L) + 0.5;
| ~~~~~~~~~^~~
main.cpp:96:16: warning: array subscript n is outside array bounds of 'dbl [0]' [-Warray-bounds]
96 | v[fgetint()].b.x += 1;
| ~~~~~~~~~~~^
main.cpp:40:7: note: while referencing 'v'
40 | } v[L];
| ^
main.cpp:96:16: warning: array subscript n is outside array bounds of 'dbl [0]' [-Warray-bounds]
96 | v[fgetint()].b.x += 1;
| ~~~~~~~~~~~^
main.cpp:40:7: note: while referencing 'v'
40 | } v[L];
| ^
main.cpp:94:16: warning: array subscript n is outside array bounds of 'dbl [0]' [-Warray-bounds]
94 | v[fgetint()].a.x += 1;
| ~~~~~~~~~~~^
main.cpp:40:7: note: while referencing 'v'
40 | } v[L];
| ^
main.cpp:94:16: warning: array subscript n is outside array bounds of 'dbl [0]' [-Warray-bounds]
94 | v[fgetint()].a.x += 1;
| ~~~~~~~~~~~^
main.cpp:40:7: note: while referencing 'v'
40 | } v[L];
| ^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 380kb | Killed by Signal 11 | 0 |
Punctaj total | 0 |