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 ip96cns at 2011-03-27 16:46:10 on Problem 1201
In Reply To:为什么用差分可以保证得到的答案是最优的呢? Posted by:wowfky at 2009-05-15 11:01:34
如果有解,保证  d[v]<=d[u]+w(u,v) ...这个不等式得到  d[v]-d[u]<= w(u,v)
所以成立d[v],d[u] 就正好是差分约束系统中的两个解

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