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 meparter at 2010-08-02 10:17:50 on Problem 3013
   如果节点1与节点2之间是6,下次又说节点1与节点2之间的权值是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