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 AngelClover at 2009-06-25 01:27:08 on Problem 2992
In Reply To:竟然进第一页了……这辈子值了,附关键优化方法 Posted by:sweetsc at 2009-06-24 22:49:40
> 还是要预处理C(n,k),然后直接输出的……
> 预处理时,C(n,k)和c(n,k+1)有递推关系,C(n,k+1)=C(n,k)/(k+1)*(n-k)
> 利用这个就不TLE了……
> 可见数学有用啊……

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