Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:哪位能看看,谢谢

Posted by zfjrz at 2004-10-21 20:12:12 on Problem 1922
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:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator