求助,为什么这样不对啊啊啊

P1135 奇怪的电梯

```cpp if(x-to[x]>=1&&!wd[x+to[x]]) { dis[x-to[x]]=dis[x]+1; q.push(x-to[x]); wd[x-to[x]]=1; } ``` 改成 ```cpp if(x-to[x]>=1&&!wd[x-to[x]]) { dis[x-to[x]]=dis[x]+1; q.push(x-to[x]); wd[x-to[x]]=1; } ```
by Kobe303 @ 2021-04-23 15:28:01


这个地方打错了
by Kobe303 @ 2021-04-23 15:28:33


@[果圆](/user/377511)
by Kobe303 @ 2021-04-23 15:37:12


@[Kobe303](/user/292300) 发现了,已改,非常感谢!
by 果圆 @ 2021-04-26 11:32:00


|