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

哪位大牛解释一下标程的调精方法(方法如下)

Posted by logics_space at 2009-02-09 10:57:46 on Problem 2646 and last updated at 2009-02-09 11:31:50
In Reply To:Re:精度问题怎么去解决? Posted by:Ikki at 2005-10-13 10:23:36
scanf("%lf",&tem);
expense[i]=tem*100+0.1; 
为什么加上0.1就能够变得准确?  

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