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

谢谢你的提示,测试例子好像都对了,还是Runtime Error,郁闷。。。

Posted by duduniao85 at 2008-01-15 20:11:58 on Problem 1001
In Reply To:double的精度当然是非常低的呀,用BigDecimal吧(无限精度),再转换为string就好了 Posted by:ecjtubaowp at 2008-01-12 10:49:02
我用的是java 1.5中BigDecimal 新增的toPlainString()方法。。。

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