Pagini recente »
Borderou de evaluare (job #310042)
|
Borderou de evaluare (job #731585)
|
Borderou de evaluare (job #757399)
|
Borderou de evaluare (job #635527)
|
Borderou de evaluare (job #749231)
Borderou de evaluare (job #749231)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf(fin, "%d %d %d", &n, &x, &y);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin, "%d %d %d", &ai, &bi, &ci);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:13:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin, "%d %d %d", &ai, &bi, &ci);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:27:5:
/usr/include/bits/stdio2.h:79:10: warning: 'tmin' 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:7:39: note: 'tmin' was declared here
7 | int x, n, y, ai, bi, ci, anti, i, tmin, m, j;
| ^~~~
main.c:27:5: warning: 'm' may be used uninitialized [-Wmaybe-uninitialized]
27 | fprintf(fout, "%d %d", m+1, tmin);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:45: note: 'm' was declared here
7 | int x, n, y, ai, bi, ci, anti, i, tmin, m, j;
| ^
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
189 ms
|
249 kb
|
Incorect
|
0
|
4
|
179 ms
|
249 kb
|
Incorect
|
0
|
5
|
389 ms
|
249 kb
|
Incorect
|
0
|
6
|
554 ms
|
245 kb
|
Incorect
|
0
|
7
|
579 ms
|
245 kb
|
Incorect
|
0
|
8
|
649 ms
|
249 kb
|
Incorect
|
0
|
9
|
756 ms
|
249 kb
|
Incorect
|
0
|
10
|
949 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
10
|