Borderou de evaluare (job #768041)

Utilizator avatar Roby2206 Staicu Robert Roby2206 IP ascuns
Problemă Inimioare (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 14 mar. 2024 10:54:36 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin,"%d",&n); | ^~~~~~~~~~~~~~~~~~~ main.c:10:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin,"%d%d%d%d",&n1,&n2,&n3,&n4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:45:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 45 | fscanf(fin,"%d%d%d%d",&n1,&n2,&n3,&n4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:40:11: warning: 'fmax' may be used uninitialized [-Wmaybe-uninitialized] 40 | if(v>fmax){ | ^ main.c:6:11: note: 'fmax' was declared here 6 | int n,fmax,bmax,i,v,n1,n2,n3,n4,m; | ^~~~ main.c:75:11: warning: 'bmax' may be used uninitialized [-Wmaybe-uninitialized] 75 | if(v>bmax){ | ^ main.c:6:16: note: 'bmax' was declared here 6 | int n,fmax,bmax,i,v,n1,n2,n3,n4,m; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 266 kb OK 10
7 1 ms 245 kb OK 10
8 1 ms 245 kb OK 10
9 19 ms 245 kb OK 10
10 29 ms 249 kb OK 10
Punctaj total 100