Pagini recente »
Borderou de evaluare (job #340757)
|
Borderou de evaluare (job #62222)
|
Borderou de evaluare (job #395487)
|
Borderou de evaluare (job #395684)
|
Borderou de evaluare (job #749219)
Borderou de evaluare (job #749219)
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);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:28:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
28 | fclose(fin);
| ^~~~~~~~~~~
main.c:25:5: note: call to 'fclose' here
25 | fclose(fin);
| ^~~~~~~~~~~
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
|
Incorect
|
0
|
2
|
1 ms
|
249 kb
|
Incorect
|
0
|
3
|
179 ms
|
249 kb
|
Incorect
|
0
|
4
|
179 ms
|
245 kb
|
Incorect
|
0
|
5
|
419 ms
|
249 kb
|
Incorect
|
0
|
6
|
547 ms
|
249 kb
|
Incorect
|
0
|
7
|
569 ms
|
249 kb
|
Incorect
|
0
|
8
|
649 ms
|
249 kb
|
Incorect
|
0
|
9
|
799 ms
|
249 kb
|
Incorect
|
0
|
10
|
953 ms
|
327 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|