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 liulibo133 at 2008-08-31 17:49:58 on Problem 3682
In Reply To:Re:大牛们都怎么做的啊?提示一下吧~~~迭代算出概率过了但是好慢啊 Posted by:TheBeet at 2008-08-31 17:47:01
> ans1 = k / p;
> ans2 = (k + 1) * ans1 / p - ans1;

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