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 Robocode at 2007-08-12 12:56:21 on Problem 3063
这题中由于w[i]+b[i]=m,所以我们只要记住w[i]即可,b[i]=m-w[i]。
接下来的问题是在这n个w中选取n/2个组成一个集合进行percentage的计算。
但是n的范围是10000,C(10000,5000)是一个天文数字啊,请问有没有好一点地办法啊?请高手指点。

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