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

Not all of executions have the same probability

Posted by rouder at 2008-04-24 08:33:35 on Problem 1074
In Reply To:为什么我的样例输出为2.3429啊,不是3.0000,手工分析下来也是这么多。 Posted by:maya at 2005-10-24 21:51:29
Example :
Exactly one execution of the sample input results in S=8, and the
probability of that execution is not 1/8C4=1/70, but (1/2)^4=1/16,
since the program automatically execute remaining operations.
It is true that there are 70 different executions, but not all of
them have the same probability.

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