Pagini recente »
Borderou de evaluare (job #41741)
|
Borderou de evaluare (job #598954)
|
Borderou de evaluare (job #41315)
|
Borderou de evaluare (job #1948)
|
Borderou de evaluare (job #825558)
Borderou de evaluare (job #825558)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:6:33: warning: unused variable 'dif' [-Wunused-variable]
6 | int c, m, n, e, k, j, i, z, dif = 0, cf = 0, cb = 0, val;
| ^~~
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf (fin, "%d%d%d%d", &c, &m, &n, &e);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf (fin, "%d", &k);
| ^~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf (fin, "%d%d", &j, &i);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:41:9:
/usr/include/bits/stdio2.h:111:10: warning: 'val' 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:6:58: note: 'val' was declared here
6 | int c, m, n, e, k, j, i, z, dif = 0, cf = 0, cb = 0, val;
| ^~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
4
|
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
|
3
|
2 ms
|
126 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
|
266 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
|
2 ms
|
126 kb
|
OK
|
4
|
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
20
|
2 ms
|
147 kb
|
Incorect
|
0
|
|
21
|
19 ms
|
131 kb
|
Incorect
|
0
|
|
22
|
19 ms
|
245 kb
|
Incorect
|
0
|
|
23
|
9 ms
|
270 kb
|
Incorect
|
0
|
|
24
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
25
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
Punctaj total
|
72
|