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 zbyzby at 2009-06-02 13:19:10 on Problem 1079
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:
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