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

我是按1.235舍为1.23作的,过了。

Posted by ziyang at 2004-08-15 09:32:34 on Problem 1761
In Reply To:这题数据与题意不符(in particular 1.235 should be rounded to 1.23) Posted by:windbells at 2004-08-14 19:38:41
我只加了一个函数:
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