Pagini recente »
Borderou de evaluare (job #785234)
|
Borderou de evaluare (job #578308)
|
Borderou de evaluare (job #690000)
|
Borderou de evaluare (job #580887)
|
Borderou de evaluare (job #784762)
Borderou de evaluare (job #784762)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:11:20: warning: format '%hd' expects argument of type 'short int *', but argument 3 has type 'int *' [-Wformat=]
11 | fscanf(fin, "%hd %hd", &vOK, &aOK);
| ~~^ ~~~~
| | |
| | int *
| short int *
| %d
main.c:11:24: warning: format '%hd' expects argument of type 'short int *', but argument 4 has type 'int *' [-Wformat=]
11 | fscanf(fin, "%hd %hd", &vOK, &aOK);
| ~~^ ~~~~
| | |
| | int *
| short int *
| %d
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf(fin, "%hd %hd", &vOK, &aOK);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:980,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:152:5:
/usr/include/bits/stdio2.h:79:10: warning: 'hmin1' 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:50: note: 'hmin1' was declared here
9 | int t, h1, h2, m1, m2, v, a, vOK, aOK, Cate, hmin1, hmin2, mmin1, mmin2, h1max, h2max, m1max, m2max;
| ^~~~~
In function 'fprintf',
inlined from 'main' at main.c:152:5:
/usr/include/bits/stdio2.h:79:10: warning: 'hmin2' 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:57: note: 'hmin2' was declared here
9 | int t, h1, h2, m1, m2, v, a, vOK, aOK, Cate, hmin1, hmin2, mmin1, mmin2, h1max, h2max, m1max, m2max;
| ^~~~~
In function 'fprintf',
inlined from 'main' at main.c:152:5:
/usr/include/bits/stdio2.h:79:10: warning: 'mmin1' 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':
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
2
|
2 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
3
|
2 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
4
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
5
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
6
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
7
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
8
|
1 ms
|
507 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
9
|
1 ms
|
245 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
10
|
1 ms
|
266 kb
|
a) rezultat incorect; b) rezultat incorect; c) rezultat incorect
|
0
|
Punctaj total
|
0
|