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 |
WA的可能是精度問題可以試試這Test Case: Input: 1 5 25 576 171 Output: Case 1: Probability of covering 1 tile = 54.5187% Probability of covering 2 tiles = 38.7125% Probability of covering 3 tiles = 1.4526% Probability of covering 4 tiles = 5.3162% 可以試試優化那些公式的計算, 如果不行,也可以試把G++換成C++ Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator