Pagini recente »
Borderou de evaluare (job #784754)
Borderou de evaluare (job #784754)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:13:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
13 | fscanf(fin,"%d%d%d",&n,&k,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:17:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | fscanf(fin,"%d",&nr);
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:980,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:45:5:
/usr/include/bits/stdio2.h:79:10: warning: 'maxp' 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:9:36: note: 'maxp' was declared here
9 | int n,k,p,i,ii,nrb,nr,j,maxs=0,maxp;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
507 kb
|
OK
|
10
|
3
|
1 ms
|
266 kb
|
OK
|
10
|
4
|
1 ms
|
249 kb
|
OK
|
10
|
5
|
39 ms
|
507 kb
|
OK
|
10
|
6
|
319 ms
|
2605 kb
|
OK
|
10
|
7
|
619 ms
|
3653 kb
|
OK
|
10
|
8
|
569 ms
|
1835 kb
|
Incorect
|
0
|
9
|
699 ms
|
6270 kb
|
OK
|
10
|
10
|
679 ms
|
6270 kb
|
OK
|
10
|
Punctaj total
|
90
|