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:不是多Case的,寒...

Posted by humanjustic at 2006-12-03 20:05:34 on Problem 1724
In Reply To:Re:不是多Case的,寒... Posted by:frkstyc at 2006-12-03 20:03:11
这个自然不能保证最优解,只是贪心思想..
不过我的BFS不是找到终点就返回的,而是继续搜,不断更新到每个点的最优值的...
直到最后没有可以更新为止...就这样的啦..还WA..

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