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 milesgu at 2016-12-13 18:50:46 on Problem 3687
按照入度来做,能够保证编号大的位置分配到所能分配到的最大重量
按照出度来做,能够保证编号小的位置分配到所能分配到的最小重量
根据题意,按照出度来做
或者反向建图

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