Pagini recente »
Borderou de evaluare (job #127885)
|
Borderou de evaluare (job #768467)
Borderou de evaluare (job #768467)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:7:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
7 | fscanf(fin, "%d", &n);
| ^~~~~~~~~~~~~~~~~~~~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%d", &val);
| ^~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:24:3:
/usr/include/bits/stdio2.h:79:10: warning: 'max' 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:5:34: note: 'max' was declared here
5 | int n, i, val, sum, min, imin, max, imax;
| ^~~
main.c:24:3: warning: 'imax' may be used uninitialized [-Wmaybe-uninitialized]
24 | fprintf(fout, "%d %d %d\n", max, imin + 2, imax + 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:39: note: 'imax' was declared here
5 | int n, i, val, sum, min, imin, max, imax;
| ^~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
1 ms
|
245 kb
|
OK
|
5
|
|
2
|
1 ms
|
245 kb
|
OK
|
5
|
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
4
|
1 ms
|
245 kb
|
Incorect
|
0
|
|
5
|
1 ms
|
249 kb
|
OK
|
5
|
|
6
|
1 ms
|
249 kb
|
OK
|
5
|
|
7
|
9 ms
|
245 kb
|
OK
|
5
|
|
8
|
9 ms
|
249 kb
|
OK
|
5
|
|
9
|
39 ms
|
249 kb
|
OK
|
5
|
|
10
|
79 ms
|
249 kb
|
Incorect
|
0
|
|
11
|
159 ms
|
249 kb
|
OK
|
5
|
|
12
|
259 ms
|
245 kb
|
OK
|
5
|
|
13
|
358 ms
|
512 kb
|
OK
|
5
|
|
14
|
419 ms
|
249 kb
|
OK
|
5
|
|
15
|
1919 ms
|
249 kb
|
OK
|
5
|
|
16
|
2109 ms
|
245 kb
|
OK
|
5
|
|
17
|
2089 ms
|
249 kb
|
OK
|
5
|
|
18
|
2509 ms
|
249 kb
|
Time limit exceeded
|
0
|
|
19
|
2378 ms
|
507 kb
|
OK
|
5
|
|
20
|
2508 ms
|
512 kb
|
Time limit exceeded
|
0
|
|
Punctaj total
|
75
|