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:数据有问题,输入0.1 1按题意应该输出1 1,但是输出0 1才能AC.

Posted by gemenhao at 2007-01-07 21:07:56 on Problem 1650
In Reply To:数据有问题,输入0.1 1按题意应该输出1 1,但是输出0 1才能AC. Posted by:200531500031 at 2006-08-02 13:31:08
That is, to find such two integers N and D (1 <= N, D <= L) that the value of absolute error |A - N / D| is minimal.
难道有 0 1这种数据?
wa了好多次

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