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 DieIng at 2008-10-19 18:36:52
In Reply To:我用dis[i][j]代表第i个点当前最短路径%k=j为状态。然后优队bfs。tle了~~~~~~~~~ Posted by:DieIng at 2008-10-19 17:05:13
害死队友了

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