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

detail inside

Posted by yyr at 2008-02-23 18:46:39 on Problem 3258
In Reply To:if a<b,the distance between a and b is shortest,dump b...as to speed up,you can adopt dichotomy Posted by:yuanyirui at 2008-02-23 17:34:56
|----(m)(m+1)==========|
0     ^   ^            L
the maximum of the shortest distance a cow has to jump after removing m rocks...so the more removed, the more the pity cows have to jump

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