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:syb3181 at 2009-04-24 09:33:37 > 晕搞了三个小时,发现double 和 rational都能过,关键是不能有0出现在分子上,比如 1/999,不能输出0/1 好象没有这个要求吧,我没考虑这种情况也过了.只是当同一分母的分数出现相同误差时应该选较大的("rounding up in case of ties") Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator