Borderou de evaluare (job #695763)

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:53:45 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:57:21: warning: iteration 10 invokes undefined behavior [-Waggressive-loop-optimizations] 57 | base[i] = 0; | ~~~~~~~~^~~ main.cpp:56:27: note: within this loop 56 | for (int i = 1; i <= 11; i++) | ~~^~~~~ main.cpp:57:21: 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] 57 | 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 1 ms 114 kb Incorect 0
3 1 ms 114 kb Incorect 0
4 1 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