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-12-03 19:51:10 on Problem 1724
In Reply To:那么复杂的逻辑……你是不是想复杂了…… Posted by:frkstyc at 2006-12-03 19:46:08
没啊,我比较傻,保存了从一个顶点到另一顶点的所有边,反正边的总数才10000..
然后从小到大排序,接着BFS...

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