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

Re:这样算概率,有错吗?

Posted by Grope at 2005-08-28 18:03:53 on Problem 2598
In Reply To:这样算概率,有错吗? Posted by:achilles at 2005-08-28 16:49:18
     if(l<=1.0) p=2.*l/pi;
        else p=(2.*(l-sqrt(l*l-1.))+(pi-2.*asin(1./l)))/pi;

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