Borderou de evaluare (job #3150315)

Utilizator ioi_anu_v_iitorMicox Long ioi_anu_v_iitor Data 16 septembrie 2023 00:47:10
Problema Bacterii2 Status done
Runda Arhiva ICPC Compilator cpp-64 | Vezi sursa
Scor 0

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
14ms380kbKilled by Signal 110
Punctaj total0

Ceva nu functioneaza?