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

终于ac了,很诡异的精度

Posted by imzhangliang at 2009-03-31 19:02:15 on Problem 2815
我是用当fabs(a-b)<0.09 时算 a==b 就可以

用0.1和0.01都不可以,然后用0.09刚好满足sample,然后就ac了,太诡异的精度,题目好像也没提醒

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