Borderou de evaluare (job #797988)

Utilizator avatar solezarino Robert Giurea solezarino IP ascuns
Problemă Bila1 (baraj gimnaziu) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 27 nov. 2024 18:24:54 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] ); // citim inaltimile | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:62:49: warning: 'hmin' may be used uninitialized [-Wmaybe-uninitialized] 62 | if ( d[lb][cb] > max || (d[lb][cb] == max && h[lb][cb] < hmin) ) { | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~ main.c:12:50: 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 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 2 ms 118 kb OK 10
4 1 ms 266 kb OK 10
5 1 ms 249 kb OK 10
6 9 ms 245 kb OK 10
7 9 ms 245 kb OK 10
8 9 ms 245 kb OK 10
9 9 ms 245 kb OK 10
10 9 ms 245 kb OK 10
Punctaj total 100