Pagini recente »
Borderou de evaluare (job #827077)
Borderou de evaluare (job #827077)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d%d", &c, &n);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:13: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf(fin, "%d", &x);
| ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:40:13:
/usr/include/bits/stdio2.h:111:10: warning: 'v' 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:8:35: note: 'v' was declared here
8 | int c, n, maxim, i, x, k, v, s1, s2;
| ^
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
4
|
|
2
|
1 ms
|
245 kb
|
OK
|
4
|
|
3
|
1 ms
|
245 kb
|
OK
|
4
|
|
4
|
1 ms
|
245 kb
|
OK
|
4
|
|
5
|
1 ms
|
245 kb
|
OK
|
4
|
|
6
|
39 ms
|
245 kb
|
OK
|
4
|
|
7
|
1 ms
|
245 kb
|
OK
|
4
|
|
8
|
1 ms
|
507 kb
|
OK
|
4
|
|
9
|
1 ms
|
507 kb
|
OK
|
4
|
|
10
|
1 ms
|
507 kb
|
OK
|
4
|
|
11
|
1 ms
|
245 kb
|
OK
|
4
|
|
12
|
1 ms
|
245 kb
|
OK
|
4
|
|
13
|
1 ms
|
249 kb
|
OK
|
4
|
|
14
|
39 ms
|
249 kb
|
OK
|
4
|
|
15
|
1 ms
|
507 kb
|
OK
|
4
|
|
16
|
1 ms
|
507 kb
|
OK
|
4
|
|
17
|
1 ms
|
266 kb
|
OK
|
4
|
|
18
|
1 ms
|
245 kb
|
OK
|
4
|
|
19
|
1 ms
|
245 kb
|
OK
|
4
|
|
20
|
1 ms
|
507 kb
|
OK
|
4
|
|
21
|
4 ms
|
266 kb
|
OK
|
4
|
|
22
|
1 ms
|
245 kb
|
OK
|
4
|
|
23
|
1 ms
|
245 kb
|
OK
|
4
|
|
24
|
9 ms
|
245 kb
|
OK
|
4
|
|
25
|
39 ms
|
245 kb
|
OK
|
4
|
|
Punctaj total
|
100
|