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 humanjustic at 2006-11-20 22:58:55 on Problem 1125
枚举出发点,然后做一次 弗洛伊德,求出到达最后一个人时的时间.
和当前最优值比较,同时记录最优出发点和时间.
输出即可.
注意当整个网络不连通时,一定要输出disjoint....(WA了3次)

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