```c
const int dx[4]={0,1,-1,0};
const int dy[4]={1,-1,0,0};
```
数组下标从0开始
```
for(int i=1;i<=4;i++)
```
i应该从0开始,i<4
by caizehua @ 2022-08-17 17:29:56
@[caizehua](/user/365472)
扫噶,mad看了半天了
by Iverson_ @ 2022-08-17 17:43:24