Pagini recente »
Clasament lmk_8_vs
|
Borderou de evaluare (job #421804)
|
Borderou de evaluare (job #731009)
|
Borderou de evaluare (job #109719)
|
Borderou de evaluare (job #760712)
Borderou de evaluare (job #760712)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:45: warning: unused variable 'e' [-Wunused-variable]
9 | int n, max = 0, p, s, c, pmin, pmax, i, e;
| ^
main.c:9:36: warning: unused variable 'pmax' [-Wunused-variable]
9 | int n, max = 0, p, s, c, pmin, pmax, i, e;
| ^~~~
main.c:9:30: warning: unused variable 'pmin' [-Wunused-variable]
9 | int n, max = 0, p, s, c, pmin, pmax, i, e;
| ^~~~
main.c:9:24: warning: unused variable 's' [-Wunused-variable]
9 | int n, max = 0, p, s, c, pmin, pmax, i, e;
| ^
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf( fin, "%d%d", &c, &n );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf( fin, "%d", &v[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:25:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
25 | fprintf( fin, "%d", p );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:23:5: note: call to 'fclose' here
23 | fclose(fin);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:25:5:
/usr/include/bits/stdio2.h:79:10: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:23:5: note: call to 'fclose' here
23 | fclose(fin);
| ^~~~~~~~~~~
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
|
499 kb
|
OK
|
4
|
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
|
39 ms
|
512 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
|
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
|
241 kb
|
Incorect
|
0
|
24
|
9 ms
|
245 kb
|
Incorect
|
0
|
25
|
39 ms
|
503 kb
|
Incorect
|
0
|
Punctaj total
|
24
|