Borderou de evaluare (job #809114)

Utilizator avatar AlexandraPaunescu Paunescu Alexandra AlexandraPaunescu IP ascuns
Problemă Chibrituri (clasa a 5-a) Compilator c-32
Rundă Tema 24 Clasa a 5-a Status evaluat
Dată 13 feb. 2025 18:48:59 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:9: warning: unused variable 'n' [-Wunused-variable] 9 | int n,nr,i,cnr,cif,h,m,so,sv,betev,beteo,da,variante,min,max; | ^ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf (fin,"%d%d",&betev,&beteo); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:53:8: warning: 'min' may be used uninitialized [-Wmaybe-uninitialized] 53 | if (h<10) { | ^ main.c:9:58: note: 'min' was declared here 9 | int n,nr,i,cnr,cif,h,m,so,sv,betev,beteo,da,variante,min,max; | ^~~ main.c:62:6: warning: 'max' may be used uninitialized [-Wmaybe-uninitialized] 62 | m=max%60; | ~^~~~~~~ main.c:9:62: note: 'max' was declared here 9 | int n,nr,i,cnr,cif,h,m,so,sv,betev,beteo,da,variante,min,max; | ^~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 2 ms 245 kb OK 10
3 2 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 266 kb OK 10
6 2 ms 159 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 1 ms 245 kb OK 10
10 1 ms 245 kb OK 10
Punctaj total 100