Pagini recente »
Borderou de evaluare (job #349010)
|
Borderou de evaluare (job #807520)
|
Borderou de evaluare (job #88792)
|
Borderou de evaluare (job #765685)
|
Borderou de evaluare (job #765342)
Borderou de evaluare (job #765342)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:4: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf( fin, "%d%d%d%d%d", &n, &a, &b, &c, &d );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:52:1: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
52 | fscanf( fin, "%d%d", &n, &y );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:8:11: warning: 'vmin' may be used uninitialized [-Wmaybe-uninitialized]
8 | int n, vmin, vmax, t, x, x1, y, a, b, c, d, i;
| ^~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:83:8:
/usr/include/bits/stdio2.h:79:10: warning: 'vmax' 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:8:17: note: 'vmax' was declared here
8 | int n, vmin, vmax, t, x, x1, y, a, b, c, d, i;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
2
|
4 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
3
|
2 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
4
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
5
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
6
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
7
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
8
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
9
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
10
|
1 ms
|
245 kb
|
a) linie incorecta; b) OK
|
4
|
Punctaj total
|
40
|