Pagini recente »
Borderou de evaluare (job #435398)
|
Borderou de evaluare (job #761989)
Borderou de evaluare (job #761989)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:36:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | fscanf(fin, "%d %d", &n, &m);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:38:9: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
38 | fscanf(fin, "%d %d", &lin, &col);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:41:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
41 | fscanf(fin, "%d %d %d %d", &l1, &c1, &l2, &c2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/stdio.h:906,
from main.c:1:
In function 'fprintf',
inlined from 'main' at main.c:83:5:
/usr/include/bits/stdio2.h:79:10: warning: 'dist' 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:34:39: note: 'dist' was declared here
34 | int n,m,l,c,i,lin,col,l1,c1,l2,c2,dist,lc,cc,ret;
| ^~~~
Test |
Timp execuție |
Memorie folosită |
Mesaj |
Punctaj/test |
1
|
1 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
|
249 kb
|
Incorect
|
0
|
7
|
9 ms
|
249 kb
|
OK
|
10
|
8
|
1 ms
|
245 kb
|
Incorect
|
0
|
9
|
1 ms
|
249 kb
|
Incorect
|
0
|
10
|
1 ms
|
245 kb
|
Incorect
|
0
|
Punctaj total
|
60
|