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

还是CEOI数据好,一点也不卡精度。

Posted by fanhqme at 2010-08-26 16:01:14 on Problem 1912
如何处理精度问题?
答案就是:不处理即可。
“几乎”所有的浮点数比较都用严格比较就可以过了,
换句话说,就是把precision设置为0.0

想起某些国内的计算几何题恶心的精度问题,不禁感慨啊。

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