Borderou de evaluare (job #813251)

Utilizator avatar maria_C1 Chertes Maria maria_C1 IP ascuns
Problemă Speciale (clasa a 5-a) Compilator c-32
Rundă Tema 28 Clasa a 5-a Status evaluat
Dată 8 mar. 2025 15:43:23 Scor 20

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 %d", &cer, &k, &n, &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ main.c:47:15: warning: 'nr3' may be used uninitialized [-Wmaybe-uninitialized] 47 | while (nr3>0) | ~~~^~ main.c:10:41: note: 'nr3' was declared here 10 | int cer, k, n, a, b, nr, i, nr2, p, nr3, cn, x, cnr2, cif1, cif2, cnr3, p2; | ^~~ In file included from /usr/include/stdio.h:970, from main.c:1: In function 'fprintf', inlined from 'main' at main.c:62:9: /usr/include/bits/stdio2.h:111:10: warning: 'cnr2' may be used uninitialized [-Wmaybe-uninitialized] 111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt, | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 112 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ main.c: In function 'main': main.c:10:53: note: 'cnr2' was declared here 10 | int cer, k, n, a, b, nr, i, nr2, p, nr3, cn, x, cnr2, cif1, cif2, cnr3, p2; | ^~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 507 kb Incorect 0
3 1 ms 249 kb Killed by Signal 8 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb OK 5
7 1 ms 249 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Killed by Signal 8 0
11 1 ms 245 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 507 kb Incorect 0
14 1 ms 245 kb OK 5
15 1 ms 512 kb Incorect 0
16 1 ms 249 kb Killed by Signal 8 0
17 1 ms 249 kb Incorect 0
18 1 ms 507 kb OK 5
19 1 ms 245 kb OK 5
20 1 ms 249 kb Incorect 0
Punctaj total 20