| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
我是按1.235舍为1.23作的,过了。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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator