| ||||||||||
| 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 | |||||||||
ft.我明明是在3039下写的怎么后面没有Problem 3039...In Reply To:EPS不能取1e-9,要1e-10或者更高精度 Posted by:snoopy at 2006-10-21 08:48:45 > 枚举实现,结果挂了,看了一下discuss发现别人判是否相等都是用的fabs()>0,我用fabs()>1e-9就挂了,改成>0也过了,测了一下只要是1e-10或者更高精度都是可以过的 > > 被1e-9的经验主义害死了,ft Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator