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:java 1004 ac

Posted by 90820120 at 2009-08-27 22:11:58 on Problem 1004
In Reply To:java 1004 ac Posted by:mfkidtfws at 2009-08-22 16:27:18
不用四舍五入也可过啊?!!
这样仿似更准确:
(int)(d/12*100+0.5)/100.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