Pagini recente »
Borderou de evaluare (job #685675)
|
Borderou de evaluare (job #857372)
Borderou de evaluare (job #857372)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:12:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
12 | fscanf(fin,"%d%d%d",&n,&k,&p);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:20:7: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
20 | fscanf(fin,"%d",&x);
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:970,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:40:3:
/usr/include/bits/stdio2.h:111:10: warning: 'posmx' may be used uninitialized [-Wmaybe-uninitialized]
111 | return __fprintf_chk (__stream, __USE_FORTIFY_LEVEL - 1, __fmt,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
112 | __va_arg_pack ());
| ~~~~~~~~~~~~~~~~~
main.c: In function 'main':
main.c:10:21: note: 'posmx' was declared here
10 | int n,p,k,i,j,z,x,posmx;
| ^~~~~
| Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
|
1
|
0 ms
|
292 kb
|
Incorect
|
0
|
|
2
|
1 ms
|
508 kb
|
OK
|
10
|
|
3
|
1 ms
|
508 kb
|
OK
|
10
|
|
4
|
2 ms
|
508 kb
|
Incorect
|
0
|
|
5
|
11 ms
|
764 kb
|
Incorect
|
0
|
|
6
|
86 ms
|
4132 kb
|
OK
|
10
|
|
7
|
166 ms
|
4900 kb
|
OK
|
10
|
|
8
|
137 ms
|
2812 kb
|
Incorect
|
0
|
|
9
|
213 ms
|
10236 kb
|
OK
|
10
|
|
10
|
206 ms
|
10148 kb
|
OK
|
10
|
|
Punctaj total
|
60
|