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:哪位能看看,谢谢In Reply To:Re:哪位能看看,谢谢 Posted by:lyyu2000 at 2004-10-21 14:28:14 > 1. if (t>=0 && v>=0 && v<=40) 应该改为 if (t>=0 && v>0 && v<=40) > 2. Ut=(int)ceil(L/(v/3.6)+t); 改为 Ut=(int)ceil((double)16200/v+t);否则运算精度有所不同 > 哭! 改了后还是WA~~~ 我真的看不出还有什么地方不妥了 Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator