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

Re:1948怎么背包啊

Posted by luzilon1 at 2009-03-15 17:43:16 on Problem 1948
In Reply To:1948怎么背包啊 Posted by:luoshibo at 2005-09-14 13:45:11
> 1948怎么背包
先背包算出所有可行边seg1
当枚举上面的边的时候要记录那些fence不可用
之后背包算出第二条可行边seg2
seg3 = sum - seg1 - seg2;

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