Borderou de evaluare (job #817290)

Utilizator avatar vlad_lupu lupu vlad andrei vlad_lupu IP ascuns
Problemă Culori1 (clasa a 5-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 31 mar. 2025 17:59:10 Scor 10

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:9:13: warning: unused variable 'c' [-Wunused-variable] 9 | int a,b,c,d=1034,cc=0,dd=3625,m=0; | ^ main.cpp:22:15: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations] 22 | cu[cc]=0; | ~~~~~~^~ main.cpp:21:16: note: within this loop 21 | for(cc=1;cc<102;cc++){ | ~~^~~~ main.cpp:30:17: warning: iteration 100 invokes undefined behavior [-Waggressive-loop-optimizations] 30 | if(cu[cc]>m)m=cu[cc]; | ~~~~~^ main.cpp:29:16: note: within this loop 29 | for(cc=1;cc<102;cc++){ | ~~^~~~ main.cpp:22:15: warning: 'void* __builtin_memset(void*, int, unsigned int)' forming offset [404, 407] is out of the bounds [0, 404] of object 'cu' with type 'int [101]' [-Warray-bounds=] 22 | cu[cc]=0; | ~~~~~~^~ main.cpp:6:13: note: 'cu' declared here 6 | int v[2000],cu[101]; | ^~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 507 kb Incorect 0
2 1 ms 266 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 507 kb Incorect 0
6 1 ms 266 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb OK 10
10 1 ms 245 kb Incorect 0
Punctaj total 10