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

更常用的方法是(16200+v-1)/v

Posted by Eov_Second at 2017-02-16 10:40:21 on Problem 1922
In Reply To:这个题完全没有必要用double或float,因为: Posted by:ghostplant at 2010-06-13 20:33:40
> ceil(t+16200.0/v) 可以换成 t+16200/v+((16200%v)?1:0)

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