Pagini recente »
Borderou de evaluare (job #357642)
|
Borderou de evaluare (job #718355)
|
Borderou de evaluare (job #184717)
|
Borderou de evaluare (job #699491)
|
Borderou de evaluare (job #812458)
Borderou de evaluare (job #812458)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:23: warning: unused variable 'b' [-Wunused-variable]
9 | int cer, k, n, a, b, nr, i, nr2, p, nr3, ca, x, cnr2, cif1, cif2;
| ^
main.c:9:17: warning: unused variable 'n' [-Wunused-variable]
9 | int cer, k, n, a, b, nr, i, nr2, p, nr3, ca, x, cnr2, cif1, cif2;
| ^
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf (fin, "%d %d", &cer, &k);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf (fin, "%d", &a);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:46:12: warning: 'nr2' may be used uninitialized [-Wmaybe-uninitialized]
46 | nr2=nr2*p+nr3;
| ~~~^~
main.c:9:33: note: 'nr2' was declared here
9 | int cer, k, n, a, b, nr, i, nr2, p, nr3, ca, x, cnr2, cif1, cif2;
| ^~~
main.c:46:8: warning: 'nr3' may be used uninitialized [-Wmaybe-uninitialized]
46 | nr2=nr2*p+nr3;
| ~~~^~~~~~~~~~
main.c:9:41: note: 'nr3' was declared here
9 | int cer, k, n, a, b, nr, i, nr2, p, nr3, ca, x, cnr2, cif1, cif2;
| ^~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:53: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:9:53: note: 'cnr2' was declared here
9 | int cer, k, n, a, b, nr, i, nr2, p, nr3, ca, x, cnr2, cif1, cif2;
| ^~~~
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
|
245 kb
|
Incorect
|
0
|
4
|
1 ms
|
507 kb
|
Incorect
|
0
|
5
|
1 ms
|
266 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
OK
|
5
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
1 ms
|
507 kb
|
Incorect
|
0
|
9
|
1 ms
|
270 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
OK
|
5
|
15
|
1 ms
|
512 kb
|
Incorect
|
0
|
16
|
1 ms
|
512 kb
|
Incorect
|
0
|
17
|
1 ms
|
249 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
OK
|
5
|
19
|
1 ms
|
507 kb
|
OK
|
5
|
20
|
1 ms
|
249 kb
|
Incorect
|
0
|
Punctaj total
|
20
|