Pagini recente »
Borderou de evaluare (job #693497)
|
Clasament 2020-05-09-clasa-5-concurs
|
Borderou de evaluare (job #654877)
|
Borderou de evaluare (job #616037)
|
Borderou de evaluare (job #784803)
Borderou de evaluare (job #784803)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:24:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int' [-Wformat=]
24 | fscanf(fin, "%d%d", a, b);
| ~^ ~
| | |
| int * int
main.c:24:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'int' [-Wformat=]
24 | fscanf(fin, "%d%d", a, b);
| ~^ ~
| | |
| int * int
main.c:12:12: warning: unused variable 'd' [-Wunused-variable]
12 | int i, d, j, a, b, p, x, nrcif, nr, ok, cnt, maxi, mini;
| ^
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d%d", &a, &b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:24:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
24 | fscanf(fin, "%d%d", a, b);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:49:20: warning: 'cnt' may be used uninitialized [-Wmaybe-uninitialized]
49 | cnt++;
| ~~~^~
main.c:12:45: note: 'cnt' was declared here
12 | int i, d, j, a, b, p, x, nrcif, nr, ok, cnt, maxi, mini;
| ^~~
In file included from /usr/include/stdio.h:980,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:58:5:
/usr/include/bits/stdio2.h:79:10: warning: 'maxi' 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:12:50: note: 'maxi' was declared here
12 | int i, d, j, a, b, p, x, nrcif, nr, ok, cnt, maxi, mini;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:58:5:
/usr/include/bits/stdio2.h:79:10: warning: 'mini' 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:12:56: note: 'mini' was declared here
12 | int i, d, j, a, b, p, x, nrcif, nr, ok, cnt, maxi, mini;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
519 ms
|
10207 kb
|
Incorect
|
0
|
2
|
519 ms
|
10207 kb
|
Incorect
|
0
|
3
|
519 ms
|
10227 kb
|
Incorect
|
0
|
4
|
509 ms
|
10207 kb
|
Incorect
|
0
|
5
|
519 ms
|
10203 kb
|
Incorect
|
0
|
6
|
519 ms
|
10223 kb
|
Incorect
|
0
|
7
|
529 ms
|
10211 kb
|
Incorect
|
0
|
8
|
629 ms
|
10473 kb
|
Incorect
|
0
|
9
|
619 ms
|
10203 kb
|
Incorect
|
0
|
10
|
649 ms
|
10469 kb
|
Incorect
|
0
|
Punctaj total
|
0
|