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

讲一下我的具体思路吧!

Posted by rodster at 2009-02-13 14:03:46 on Problem 2673 and last updated at 2009-02-13 14:40:29
In Reply To:哪位大哥大姐帮忙看看啊!不知道错哪里了??wa疯掉了!!! Posted by:rodster at 2009-02-13 11:58:46
先求出到山下用时最少的老虎所用时间设为minTime , 此过程中

d%s == 0 和 d%s != 0的区别对待,

最后kicc能搬的石头就是  (minTime + (t - minTime)/2)*x

测试数据和我自己想的几组数据均通过,提交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