求助P1746

P1746 离开中山路

其实 我想问个问题 `hb和lb`你都没用啊
by 晴空一鹤 @ 2022-07-14 14:48:14


@[李敬one](/user/138171)
by 晴空一鹤 @ 2022-07-14 14:48:31


@[晴空一鹤](/user/158400) 你是说写个出口?
by LiJingone_Andy @ 2022-07-14 15:17:49


ng
by 晴空一鹤 @ 2022-07-14 15:43:23


@[晴空一鹤](/user/158400) 可以帮忙改一下吗
by LiJingone_Andy @ 2022-07-14 15:58:12


这题建议用BFS吧 DFS时间复杂度会起飞 另外正确性很难保证 @[李敬one](/user/138171)
by 晴空一鹤 @ 2022-07-14 16:04:30


@[晴空一鹤](/user/158400) 好吧
by LiJingone_Andy @ 2022-07-14 16:28:01


@[晴空一鹤](/user/158400) 非常感谢
by LiJingone_Andy @ 2022-07-14 16:28:21


|