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

我就是用"%.2lf"输出过的

Posted by windbells at 2004-08-15 09:53:39 on Problem 1761
In Reply To:我是按1.235舍为1.23作的,过了。 Posted by:ziyang at 2004-08-15 09:32:34
> 我只加了一个函数:
> double round(double a)
> {
> 	return a-eps;
> }
> 将一个要输出的数减一个1e-6,这样不就行了?

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