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

求完了可以不dfs吧

Posted by bg95 at 2011-06-19 16:40:26 on Problem 2987 and last updated at 2011-06-19 16:42:47
In Reply To:雁过留声——最大权封闭子图 Posted by:fanhqme at 2009-12-13 18:45:23
求出最大流f
所有正权的和sp
ans = sp - f
人数 = -(ans % 10000 - 10000) % 10000;
获利 = (ans + 人数) / 10000;

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