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

我用的spfa

Posted by 644197852 at 2013-10-15 01:32:13 on Problem 1062
我用的拆点 ,每个点和他自己 + n 连一条边 ,费用是价值,把每一个最低点当成当前最低点 ,每次取得1 到 n+1___n + n 的最小 ,时间太久了100多了,看到有很多0ms的就不好意思吧自己的水代码贴出来了

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