@[哲学濠](/space/show?uid=137383)
```cpp
if(f[x+dx[i]][y+dy[i]]==0 && flag[x+dx[i]][y+dy[i]]==1)
```
这一行要判断越界吧
by 颓废的鲈鱼 @ 2019-09-09 21:27:42
@[哲学濠](/space/show?uid=137383)
```cpp
if(x==fx && x==fy)
```
这里不太对吧
by Xhesika_Frost @ 2019-09-09 21:32:42
@[For_Miku](/space/show?uid=133116)
谢谢
by AliveMe @ 2019-09-09 21:37:00
@[aa1343664580](/space/show?uid=184185)
我觉得不用啊
by AliveMe @ 2019-09-09 21:37:20