Pagini recente »
Borderou de evaluare (job #605624)
|
Borderou de evaluare (job #505622)
|
Borderou de evaluare (job #594034)
|
Borderou de evaluare (job #362738)
|
Borderou de evaluare (job #760715)
Borderou de evaluare (job #760715)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf( fin, "%d%d", &c, &n );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:14:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fscanf( fin, "%d", &v[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:23:9:
/usr/include/bits/stdio2.h:79:10: warning: 'p' 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:9:21: note: 'p' was declared here
9 | int n, max = 0, p, c, i, e, s;
| ^
main.c:40:14: warning: 'e' may be used uninitialized [-Wmaybe-uninitialized]
40 | for( i = e + 1; i < p - 1; i++ ){
| ~~^~~~~~~
main.c:9:30: note: 'e' was declared here
9 | int n, max = 0, p, c, i, e, s;
| ^
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
|
512 kb
|
OK
|
4
|
7
|
1 ms
|
249 kb
|
Incorect
|
0
|
8
|
1 ms
|
249 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
249 kb
|
Incorect
|
0
|
11
|
1 ms
|
249 kb
|
Incorect
|
0
|
12
|
1 ms
|
249 kb
|
Incorect
|
0
|
13
|
1 ms
|
249 kb
|
Incorect
|
0
|
14
|
49 ms
|
512 kb
|
Incorect
|
0
|
15
|
1 ms
|
245 kb
|
OK
|
4
|
16
|
1 ms
|
241 kb
|
OK
|
4
|
17
|
1 ms
|
245 kb
|
Incorect
|
0
|
18
|
1 ms
|
245 kb
|
Incorect
|
0
|
19
|
1 ms
|
245 kb
|
Incorect
|
0
|
20
|
1 ms
|
245 kb
|
Incorect
|
0
|
21
|
1 ms
|
245 kb
|
Incorect
|
0
|
22
|
1 ms
|
245 kb
|
Incorect
|
0
|
23
|
1 ms
|
245 kb
|
Incorect
|
0
|
24
|
9 ms
|
245 kb
|
Incorect
|
0
|
25
|
39 ms
|
512 kb
|
Incorect
|
0
|
Punctaj total
|
32
|