Borderou de evaluare (job #786154)

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ă 14 sept. 2024 14:42:54 Scor 64

Raport evaluator

Compilare: main.c: In function 'main': main.c:7:36: warning: variable 'b' set but not used [-Wunused-but-set-variable] 7 | int c, m, n, e, k, x, y, p, r, b, j, i, nrf, nrb, nrfc, nrbc, cmmdc, rf, rb, rmin; | ^ 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 249 kb Incorect 0
2 1 ms 512 kb Incorect 0
3 1 ms 512 kb Incorect 0
4 1 ms 270 kb Incorect 0
5 1 ms 249 kb Incorect 0
6 1 ms 512 kb Incorect 0
7 1 ms 512 kb Incorect 0
8 1 ms 249 kb Incorect 0
9 1 ms 249 kb Incorect 0
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 245 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 507 kb OK 4
20 1 ms 245 kb OK 4
21 9 ms 512 kb OK 4
22 19 ms 245 kb OK 4
23 9 ms 249 kb OK 4
24 1 ms 266 kb OK 4
25 4 ms 245 kb OK 4
Punctaj total 64