Borderou de evaluare (job #726733)

Utilizator avatar AndreiEsteNebun Mateescu Andrei AndreiEsteNebun IP ascuns
Problemă Sir4 (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 18 iul. 2023 17:05:41 Scor 100

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:51:14: warning: iteration 105 invokes undefined behavior [-Waggressive-loop-optimizations] 51 | vf[i]=0; | ~~~~~^~ main.cpp:49:14: note: within this loop 49 | for(i=0;i<=105;i++) | ~^~~~~ main.cpp:51:14: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [420, 423] is out of the bounds [0, 420] of object 'vf' with type 'int [105]' [-Warray-bounds] 51 | vf[i]=0; | ~~~~~^~ main.cpp:27:5: note: 'vf' declared here 27 | int vf[105]; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100