foo.c: In function 'main':
foo.c:13:22: warning: 'ex' is used uninitialized [-Wuninitialized]
13 | if (local[ex][ey]==0){
| ~~~~~~~~~^~~~
foo.c:12:19: note: 'ex' was declared here
12 | int sx,sy,ex,ey;
| ^~
foo.c:13:22: warning: 'ey' is used uninitialized [-Wuninitialized]
13 | if (local[ex][ey]==0){
| ~~~~~~~~~^~~~
foo.c:12:22: note: 'ey' was declared here
12 | int sx,sy,ex,ey;
| ^~
foo.c:14:25: warning: 'sx' may be used uninitialized [-Wmaybe-uninitialized]
14 | if (sx+2<9&&sy+1<10)
| ~~~~^~
foo.c:12:13: note: 'sx' was declared here
12 | int sx,sy,ex,ey;
| ^~
foo.c:14:33: warning: 'sy' may be used uninitialized [-Wmaybe-uninitialized]
14 | if (sx+2<9&&sy+1<10)
| ~~~~^~~
foo.c:12:16: note: 'sy' was declared here
12 | int sx,sy,ex,ey;
| ^~
[Hydro](https://hydro.ac)提供评测服务