Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
说一点这题的想法这题中由于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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator