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 |
Dinkelbach做的要注意了,卡精度最好abs(r-res)<0.00001就break,比较保险 虽然我看到有0.0001也AC了的。。 如有需要请参考 http://hi.baidu.com/forsona/blog/item/e15ec009b2f2649d0b7b823a.html Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator