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 RedField at 2006-09-30 13:08:31 on Problem 3015
In Reply To:Re:你是怎么推的 Posted by:zhenly at 2006-09-30 13:04:52
> 大致的想法就是算出每个数作为一组中的最大数和最小数的概率,然后用最大减最小,就行了。其中有一个对称的技巧。或许还会TLE,但是我觉得不应该会WA啊。我把c那个函数省掉了,只在最后的时候通过逐项的计算达到除以c(m,n)的目的,但是还是在62ms时WA……

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