Pagini recente »
Borderou de evaluare (job #506108)
|
Borderou de evaluare (job #809514)
|
Borderou de evaluare (job #780442)
|
Borderou de evaluare (job #768016)
|
Borderou de evaluare (job #765373)
Borderou de evaluare (job #765373)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:33:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
33 | fscanf( fin, "%d%d%d", &c, &nrlin, &nrcol );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:964,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:76:5:
/usr/include/bits/stdio2.h:79:10: warning: 'maxconsec' 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:30:24: note: 'maxconsec' was declared here
30 | int c, nrlin, nrcol, maxconsec, consec, lin, col, hmax, nrfulger, h;
| ^~~~~~~~~
main.c:78:5: warning: 'hmax' may be used uninitialized [-Wmaybe-uninitialized]
78 | fprintf( fout, "%d %d\n", nrfulger, hmax + 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:30:53: note: 'hmax' was declared here
30 | int c, nrlin, nrcol, maxconsec, consec, lin, col, hmax, nrfulger, h;
| ^~~~
In function 'fprintf',
inlined from 'main' at main.c:78:5:
/usr/include/bits/stdio2.h:79:10: warning: 'nrfulger' 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:30:59: note: 'nrfulger' was declared here
30 | int c, nrlin, nrcol, maxconsec, consec, lin, col, hmax, nrfulger, h;
| ^~~~~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
Pomana (pentru ca un scor de 0p nu arata asa bine ca un scor de 10p)
|
10
|
2
|
1 ms
|
266 kb
|
OK
|
2
|
3
|
1 ms
|
245 kb
|
OK
|
7
|
4
|
1 ms
|
245 kb
|
OK
|
2
|
5
|
1 ms
|
270 kb
|
OK
|
7
|
6
|
1 ms
|
245 kb
|
OK
|
2
|
7
|
1 ms
|
245 kb
|
OK
|
7
|
8
|
1 ms
|
245 kb
|
OK
|
2
|
9
|
1 ms
|
245 kb
|
OK
|
7
|
10
|
1 ms
|
245 kb
|
OK
|
2
|
11
|
1 ms
|
245 kb
|
OK
|
7
|
12
|
1 ms
|
245 kb
|
OK
|
2
|
13
|
2 ms
|
245 kb
|
OK
|
7
|
14
|
1 ms
|
266 kb
|
OK
|
2
|
15
|
1 ms
|
245 kb
|
OK
|
7
|
16
|
3 ms
|
245 kb
|
OK
|
2
|
17
|
1 ms
|
245 kb
|
OK
|
7
|
18
|
1 ms
|
245 kb
|
OK
|
2
|
19
|
1 ms
|
245 kb
|
OK
|
7
|
20
|
1 ms
|
245 kb
|
OK
|
2
|
21
|
2 ms
|
245 kb
|
a) OK; b) incorect
|
3
|
Punctaj total
|
96
|