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

这样得到的4

Posted by HouXran at 2007-07-27 01:58:51 on Problem 2376
In Reply To:我也来提供两组数据吧。。还是挺容易错的。 Posted by:Acsaga at 2006-11-25 00:53:50
1 3
4 6
7 9
9 10

因为前面那头傻牛干到3后
后面的笨牛可以从4开始

> input:
> 7 20
> 1 10
> 2 11
> 3 12
> 4 13
> 5 14
> 12 19
> 16 20
> 
> output: 4
> 
> input:
> 10 10
> 1 3
> 2 4
> 3 5
> 4 6
> 5 7
> 6 8
> 7 9
> 8 10
> 9 10
> 10 10
> 
> output: 4

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