Borderou de evaluare (job #769120)

Utilizator avatar AndreiSara Andrei Sara AndreiSara IP ascuns
Problemă Creioane (clasa a 6-a) Compilator cpp-32
Rundă Arhiva de probleme Status evaluat
Dată 21 mar. 2024 10:29:29 Scor 0

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:10:6: warning: unused variable 'n' [-Wunused-variable] 10 | int n,i,nr,x,y,j,h,hmax=0; | ^ main.cpp:10:17: warning: variable 'j' set but not used [-Wunused-but-set-variable] 10 | int n,i,nr,x,y,j,h,hmax=0; | ^ main.cpp:24:5: warning: 'h' may be used uninitialized [-Wmaybe-uninitialized] 24 | if(h>hmax) hmax=h; | ^~ main.cpp:10:19: note: 'h' was declared here 10 | int n,i,nr,x,y,j,h,hmax=0; | ^
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 266 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 9 ms 245 kb Incorect 0
7 1 ms 249 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 9 ms 245 kb Incorect 0
10 9 ms 266 kb Incorect 0
Punctaj total 0