Borderou de evaluare (job #3248839)

Utilizator Benjamin4321234Benjamin Secara Benjamin4321234 Data 13 octombrie 2024 14:24:38
Problema Reteta Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 80

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:40:17: warning: iteration 31 invokes undefined behavior [-Waggressive-loop-optimizations] 40 | f[z]=0; | ~~~~^~ main.cpp:38:23: note: within this loop 38 | for(int z=1; z<=32; z++) | ~^~~~ main.cpp:40:17: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [128, 131] is out of the bounds [0, 128] of object 'f' with type 'int [32]' [-Warray-bounds] 40 | f[z]=0; | ~~~~^~ main.cpp:7:27: note: 'f' declared here 7 | int n,m,mat[32][32],cnt,i,f[32],s,q,x,y,verificare_n; | ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms303kbOK10
20ms303kbOK10
30ms303kbIncorect0
40ms303kbOK10
50ms303kbIncorect0
61ms303kbOK10
72ms303kbOK10
82ms303kbOK10
93ms303kbOK10
102ms303kbOK10
Punctaj total80

Ceva nu functioneaza?