Borderou de evaluare (job #798338)

Utilizator avatar Sebi_Ionescu Ionescu Sebastian Andrei Sebi_Ionescu IP ascuns
Problemă Bila1 (baraj gimnaziu) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 30 nov. 2024 18:55:23 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:15:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf(fin,"%d%d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~~~~~ main.c:18:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 18 | fscanf( fin, "%d", &h[l][c] ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:60:49: warning: 'hmin' may be used uninitialized [-Wmaybe-uninitialized] 60 | if ( d[lb][cb] > max || (d[lb][cb] == max && h[lb][cb] < hmin) ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.c:12:39: note: 'hmin' was declared here 12 | int n,m,l,c,lb,cb,sp,vec,i,lung,max,hmin; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 4 ms 245 kb OK 10
2 5 ms 258 kb OK 10
3 5 ms 258 kb OK 10
4 6 ms 258 kb OK 10
5 8 ms 245 kb OK 10
6 9 ms 249 kb OK 10
7 9 ms 249 kb OK 10
8 13 ms 249 kb OK 10
9 13 ms 249 kb OK 10
10 13 ms 249 kb OK 10
Punctaj total 100