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

这样判断最短路正确吗?

Posted by alpc04 at 2006-08-07 22:37:05 on Problem 2936
In Reply To:1435778 frkstyc 72K 15MS GCC 5965B ---- frkstyc大牛怎么做到这么快的? Posted by:alpc04 at 2006-08-07 17:38:12
把输入字符串第i步的方向作为BFS第i层的优先方向先压入队列即可(有点估价函数的感觉)

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