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

问问题解的正确性,转自hdu

Posted by 1327246148 at 2017-03-07 17:31:29 on Problem 3311
dp[s|1 << (i)][i] = min(dp[s][k] + dis[k][i])
如果最短路 dis[k][i] 经过了当前不在S中的点 那合并后状态不就与实际不一致了么。。。。。
 

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