@[Weizhuo_Zhao](/user/681558)
```cpp
if((xx>=1&&xx<=fx) and (yy>=1&&yy<=fy) and b[xx][yy]==0 and txy[xx][yy]==0)
```
应该是
```cpp
if((xx>=1&&xx<=n) and (yy>=1&&yy<=m) and b[xx][yy]==0 and txy[xx][yy]==0)
```
而且
```cpp
b[xx][yx]=1;
```
打错了,是
```cpp
b[xx][yy]=1;
```
然后就过了[记录](https://www.luogu.com.cn/record/117814702)
by ge_zhe @ 2023-07-28 13:29:42
@[ge_zhe](/user/724440)
------------
@[ge_zhe](/user/724440)
------------
# 太谢谢啦!好人一生平安!
by Weizhuo_Zhao @ 2023-07-28 14:02:52