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

能不能解释一下 t=d/1000*2/20+60+0.5中的*2..

Posted by bluewind at 2006-04-15 12:37:22 on Problem 2467
In Reply To:真的郁闷了,我有时候总是想不通为什么自己写的程序老是比人家的内存,时间都用得多呢。 Posted by:huicpc16 at 2005-09-03 21:14:41
/1000 是化成km
/20是要行遍所有雪地
*60是将小时化成分钟
+.5是为了Round to the nearest minute.

而*2为什么呢,返回不是用50km/h....为什么是时间加倍?

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