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 |
如果觉得自己算法没有错,但就是wa的话,很可能是精度问题,建议直接用double 存坐标,计算全用double,不要用强制转换,g++要用printf("%.2f\n",........);c++要用printf("%lf\n",......);"Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator