Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:谁有办法写的短一点?In Reply To:谁有办法写的短一点? Posted by:ZxMYS at 2009-03-08 19:23:17 递归降解 设prob(n,i,j)为第n队在[i,j]分区上胜出的概率,那么它 =prob(n,i,m)*SUM(defeat(i,k)*prob(k,m+1,j)),m=(i+j)/2,k=[m+1,m+2...j-1,j] 这里先假定n属于[i,m]分区上,属于[m+1,j]上亦然。其中defeate(i,k)指i队击败k队的概率。 这不就是个概率论的问题么? 已有先验概率,再来求几个全概率,几个相互独立事件的概率和。 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator