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

我先化成整数,最后转化为浮点数,这样理论上精度更高啊,但是WA,直接用double就过了,奇怪

Posted by bjiang at 2007-12-14 15:08:03 on Problem 2601
In Reply To:按照高精度那么做竟然不对,用DOUBLE直接做运算竟然对了。好奇怪。 Posted by:11119999 at 2007-05-10 22:02:34
我先化成整数,最后转化为浮点数,这样理论上精度更高啊,但是WA,直接用double就过了,奇怪。怀疑是不是测试数据中有“.23”这样的数据呢?

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