Borderou de evaluare (job #696395)

Utilizator avatar AlexPlesescu AlexPlesescu AlexPlesescu IP ascuns
Problemă Concurs2 (clasa a 9-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 16 feb. 2023 21:19:42 Scor 26

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:72:14: warning: iteration 54 invokes undefined behavior [-Waggressive-loop-optimizations] 72 | l1[i]=0; | ~~~~~^~ main.cpp:71:20: note: within this loop 71 | for(int i=1; i <=55; i++) | ~~^~~~ main.cpp:72:14: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [110, 111] is out of the bounds [0, 110] of object 'l1' with type 'short int [55]' [-Warray-bounds] 72 | l1[i]=0; | ~~~~~^~ main.cpp:17:20: note: 'l1' declared here 17 | short n,x,fr[55],y,l1[55],cnt,aux[55],lungime; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 114 kb Corect 10
2 1 ms 114 kb Primele doua cerinte corecte 3
3 1 ms 110 kb Primele doua cerinte corecte 3
4 1 ms 114 kb Corect 10
5 2 ms 118 kb Killed by Signal 11 0
6 1 ms 118 kb Killed by Signal 11 0
7 1 ms 118 kb Killed by Signal 11 0
8 1 ms 114 kb Killed by Signal 11 0
9 1 ms 118 kb Killed by Signal 11 0
10 1 ms 114 kb Killed by Signal 11 0
Punctaj total 26