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:average是指两次sweep出来的speed的average还是指根据时间和距离算出来的averageIn Reply To:average是指两次sweep出来的speed的average还是指根据时间和距离算出来的average Posted by:luopan0021 at 2004-11-22 15:56:08 s1 = (speed1 + speed2) / 2.0; s2 = 两次 sweep 之后算出的距离 / 两次 sweep 的时间间隔 if(s1 / s2 <= 0.1) printf("equipment warning\n"); Followed by: Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator