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 |
能不能解释一下 t=d/1000*2/20+60+0.5中的*2..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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator