| ||||||||||
| 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 | |||||||||
我就是用"%.2lf"输出过的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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator