Pagini recente »
Borderou de evaluare (job #166915)
|
Borderou de evaluare (job #729574)
|
Borderou de evaluare (job #389235)
|
Borderou de evaluare (job #5634)
|
Borderou de evaluare (job #778802)
Borderou de evaluare (job #778802)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
9 | fscanf( fin, "%d%d", &n, &c );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
11 | fscanf( fin, "%d", &pan[i] );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:26:3:
/usr/include/bits/stdio2.h:79:10: warning: 'cmax' 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:25: note: 'cmax' was declared here
7 | int n, c, i, j, lmax, cmax, imax, jmax;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:26:3:
/usr/include/bits/stdio2.h:79:10: warning: 'imax' 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:31: note: 'imax' was declared here
7 | int n, c, i, j, lmax, cmax, imax, jmax;
| ^~~~
main.c:26:58: warning: 'jmax' may be used uninitialized [-Wmaybe-uninitialized]
26 | fprintf( fout, "%d\n%d\n%d\n%d\n", lmax, cmax, imax, n - jmax - 1 );
| ~~^~~~~~
main.c:7:37: note: 'jmax' was declared here
7 | int n, c, i, j, lmax, cmax, imax, jmax;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
9 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
OK
|
10
|
3
|
1 ms
|
245 kb
|
OK
|
10
|
4
|
1 ms
|
245 kb
|
OK
|
10
|
5
|
1 ms
|
245 kb
|
OK
|
10
|
6
|
1 ms
|
245 kb
|
OK
|
10
|
7
|
1 ms
|
249 kb
|
OK
|
10
|
8
|
29 ms
|
245 kb
|
OK
|
10
|
9
|
1 ms
|
249 kb
|
OK
|
10
|
10
|
1 ms
|
249 kb
|
OK
|
10
|
Punctaj total
|
100
|