只能过样例……
by 最靓的哥 @ 2022-04-20 20:49:10
bfs函数里面:
1. _qy.push(x2);_ 改为qy.push(y1);
2. _a[x1][x2]=1;_ 改为a[x1][y1]=1;
by syta @ 2022-04-21 11:27:19
昂,还有s[x1][y1]=0;
by syta @ 2022-04-21 11:29:04
谢谢大犇!!!
by 最靓的哥 @ 2022-04-21 21:46:51
@syta,你是不是孙雨彤啊!?
by 最靓的哥 @ 2022-04-21 21:47:45
好眼熟啊
by 最靓的哥 @ 2022-04-21 21:48:02
谢谢啦
by 最靓的哥 @ 2022-04-21 22:04:40
@[最靓的哥](/user/533436) 是的,我只是改了个名而已
by syta @ 2022-04-23 19:58:49