Borderou de evaluare (job #786248)

Utilizator avatar Maria-Luiza Petrescu Maria-Luiza Maria-Luiza IP ascuns
Problemă Examen2 (clasa a 6-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 15 sept. 2024 09:15:46 Scor 100

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf( fin, "%d%d%d%d", &c, &m, &n, &e ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 13 | fscanf( fin, "%d", &k ); | ^~~~~~~~~~~~~~~~~~~~~~~ main.c:15:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 15 | fscanf( fin, "%d%d", &j, &i ); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /usr/include/stdio.h:980, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:71:9: /usr/include/bits/stdio2.h:79:10: warning: 'rmin' may be used uninitialized [-Wmaybe-uninitialized] 79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 80 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:7:82: note: 'rmin' was declared here 7 | int c, m, n, e, k, x, y, p, r, b, j, i, nrf, nrb, nrfc, nrbc, cmmdc, rf, rb, rmin; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 4
2 1 ms 245 kb OK 4
3 1 ms 245 kb OK 4
4 1 ms 245 kb OK 4
5 1 ms 245 kb OK 4
6 1 ms 245 kb OK 4
7 1 ms 245 kb OK 4
8 1 ms 245 kb OK 4
9 1 ms 245 kb OK 4
10 1 ms 245 kb OK 4
11 1 ms 245 kb OK 4
12 1 ms 245 kb OK 4
13 1 ms 245 kb OK 4
14 1 ms 245 kb OK 4
15 1 ms 266 kb OK 4
16 1 ms 245 kb OK 4
17 1 ms 245 kb OK 4
18 1 ms 245 kb OK 4
19 1 ms 245 kb OK 4
20 1 ms 245 kb OK 4
21 19 ms 245 kb OK 4
22 9 ms 249 kb OK 4
23 9 ms 270 kb OK 4
24 1 ms 241 kb OK 4
25 1 ms 245 kb OK 4
Punctaj total 100