LaoLiTou @ 2024-10-27 11:02:42
考场上光惦记我那破壁DFS了导致样例五没过,然而编译器似乎是限制内存的,在评测环境下512MB内存用DFS会爆吗?
by PassName @ 2024-10-27 11:05:26
@LaoLiTou 不用担心内存问题,这个题 dfs 远远不会 MLE,但是没过样例你就要担心 WA 的问题了
by zzhengxi @ 2024-10-27 11:07:21
@LaoLiTou 666啊
祝好运
by LaoLiTou @ 2024-10-27 11:10:55
@PassName 自测里AC了,模拟得应该没问题,内存不爆就没事
by LaoLiTou @ 2024-10-27 11:11:31
@zzhengxi 你也!
by lucky_Mrzhao @ 2024-10-27 11:11:51
为什么要用DFS?这道题的路线是唯一的呀
by LaoLiTou @ 2024-10-27 11:13:43
@lucky_Mrzhao 你说得对可能因为我是蒟蒻一眼看上去很像搜索的板子就没想到纯模拟qwq