Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:一直是Memory Limit Exceeded,求大神帮忙看看呗?bfs+dfs

Posted by lynne5918 at 2020-08-16 16:40:28 on Problem 3083
In Reply To:一直是Memory Limit Exceeded,求大神帮忙看看呗?bfs+dfs Posted by:zhangdanfeng at 2017-12-26 15:08:05
你可能忘了在bfs的循环中把visited数组置true

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator