Pagini recente »
Borderou de evaluare (job #305191)
|
Borderou de evaluare (job #385461)
|
Borderou de evaluare (job #226118)
|
Clasament qsdasdas
|
Borderou de evaluare (job #759618)
Borderou de evaluare (job #759618)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf( fin, "%d%d%d", &n, &a, &b );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf( fin, "%d", &c );
| ^~~~~~~~~~~~~~~~~~~~~~~
main.c:28:5: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
28 | fprintf( fin, "%d", max );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:26:5: note: call to 'fclose' here
26 | fclose(fin);
| ^~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:28:5:
/usr/include/bits/stdio2.h:79:10: warning: pointer 'fin' used after 'fclose' [-Wuse-after-free]
79 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
80 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:26:5: note: call to 'fclose' here
26 | fclose(fin);
| ^~~~~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Incorect
|
0
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
19 ms
|
245 kb
|
Incorect
|
0
|
5
|
79 ms
|
249 kb
|
Incorect
|
0
|
6
|
109 ms
|
249 kb
|
Incorect
|
0
|
7
|
129 ms
|
245 kb
|
Incorect
|
0
|
8
|
159 ms
|
249 kb
|
Time limit exceeded
|
0
|
9
|
159 ms
|
249 kb
|
Time limit exceeded
|
0
|
10
|
159 ms
|
249 kb
|
Time limit exceeded
|
0
|
Punctaj total
|
0
|