Borderou de evaluare (job #695755)

Utilizator avatar Patrick_ Patrick Guran Lupulescu Patrick_ IP ascuns
Problemă Tablou (clasa a 6-a) Compilator cpp-32
Rundă concurs111 Status evaluat
Dată 15 feb. 2023 22:19:50 Scor 0

Raport evaluator

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