Pagini recente »
Borderou de evaluare (job #603548)
|
Borderou de evaluare (job #497544)
|
Borderou de evaluare (job #547473)
|
Borderou de evaluare (job #21152)
|
Borderou de evaluare (job #771387)
Borderou de evaluare (job #771387)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d%d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:15:10: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
15 | fscanf(fin, "%d", &nr);
| ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:26:4:
/usr/include/bits/stdio2.h:79:10: warning: 'a' 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:6:21: note: 'a' was declared here
6 | int c, n, i, nr, a, b, s, sp;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
507 kb
|
Incorect
|
0
|
4
|
1 ms
|
266 kb
|
Incorect
|
0
|
5
|
1 ms
|
507 kb
|
Incorect
|
0
|
6
|
1 ms
|
245 kb
|
Incorect
|
0
|
7
|
1 ms
|
245 kb
|
Incorect
|
0
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
245 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
11
|
1 ms
|
245 kb
|
Incorect
|
0
|
12
|
1 ms
|
245 kb
|
Incorect
|
0
|
13
|
1 ms
|
245 kb
|
Incorect
|
0
|
14
|
1 ms
|
245 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
Incorect
|
0
|
16
|
1 ms
|
245 kb
|
Incorect
|
0
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
266 kb
|
Incorect
|
0
|
20
|
1 ms
|
266 kb
|
Incorect
|
0
|
Punctaj total
|
0
|