70分,哪位大佬帮帮忙

P1605 迷宫

@[孤独的死男孩](/space/show?uid=229546) $arr[sx][sy]$没有赋值为$0$
by 火车司机 @ 2019-09-30 17:19:17


全局变量不是自动初始化为0吗?
by 孤独的死男孩 @ 2019-09-30 17:39:58


@[火车司机](/space/show?uid=51692) 楼上
by 孤独的死男孩 @ 2019-09-30 17:40:26


@[孤独的死男孩](/space/show?uid=229546) 您两重循环的时候又赋值成$1$了
by 火车司机 @ 2019-09-30 18:23:07


@[火车司机](/space/show?uid=51692) 我那是标定范围
by 孤独的死男孩 @ 2019-09-30 19:22:10


外围一层0的墙
by 孤独的死男孩 @ 2019-09-30 19:22:29


@[孤独的死男孩](/space/show?uid=229546) 但是$arr[sx][sy]$要赋值为$0$
by 火车司机 @ 2019-09-30 19:41:14


@[火车司机](/space/show?uid=51692) 我傻了,谢谢大佬
by 孤独的死男孩 @ 2019-10-01 12:11:40


AC了,谢谢
by 孤独的死男孩 @ 2019-10-01 12:14:19


|