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 |
Re:换类型时,常可以这样做的,+0.5确保正确性,有时int里要用pow之类函数时,也故意+0.5的,小技巧!In Reply To:换类型时,常可以这样做的,+0.5确保正确性,有时int里要用pow之类函数时,也故意+0.5的,小技巧! Posted by:longpo at 2009-04-06 01:12:43 > 换类型时,常可以这样做的,+0.5确保正确性,有时int里要用pow之类函数时,也故意+0.5的,小技巧! y>=x-0.0005 && y<=x+0.0005 有什么不妥的么 这精度卡的 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator