Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:BFS+回溯,贴代码,飘过~In Reply To:Re:BFS+回溯,贴代码,飘过~ Posted by:652107 at 2011-04-10 02:17:51 在这些discuss中,最同意你的想法! bfs找到最短步骤数,然后我用dfs回溯到起点,再倒序输出。 思路很清晰。over Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator