Pagini recente »
Borderou de evaluare (job #609923)
|
Borderou de evaluare (job #491254)
|
Borderou de evaluare (job #95524)
|
Borderou de evaluare (job #119930)
|
Borderou de evaluare (job #725382)
Borderou de evaluare (job #725382)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
10 | fscanf(fin,"%d %d ",&n,&m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:21:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
21 | fscanf(fin,"%d",&z);
| ^~~~~~~~~~~~~~~~~~~
main.c:23:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
23 | fscanf(fin,"%d%d%d%d%d",&l1,&c1,&l2,&c2,&x);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:53:5:
/usr/include/bits/stdio2.h:79:10: warning: 'nrmax' 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:39: note: 'nrmax' was declared here
7 | int n,m,l,c,i,z,l1,c1,l2,c2,x,max,nrmax;
| ^~~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 ms
|
245 kb
|
OK
|
10
|
2
|
1 ms
|
245 kb
|
Incorect
|
0
|
3
|
1 ms
|
245 kb
|
Incorect
|
0
|
4
|
19 ms
|
2600 kb
|
OK
|
10
|
5
|
19 ms
|
3395 kb
|
OK
|
10
|
6
|
39 ms
|
4177 kb
|
OK
|
10
|
7
|
92 ms
|
6275 kb
|
OK
|
10
|
8
|
89 ms
|
4964 kb
|
OK
|
10
|
9
|
149 ms
|
8372 kb
|
OK
|
10
|
10
|
149 ms
|
8368 kb
|
OK
|
10
|
Punctaj total
|
80
|