Borderou de evaluare (job #795649)

Utilizator avatar Sebi_Ripa Sebastian Ripa Sebi_Ripa IP ascuns
Problemă Calculator Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 17 nov. 2024 13:55:40 Scor 100

Raport evaluator

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