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

Re:我也来提供两组数据吧。。还是挺容易错的。

Posted by caoyuan0816 at 2014-01-26 03:35:08 on Problem 2376
In Reply To:我也来提供两组数据吧。。还是挺容易错的。 Posted by:Acsaga at 2006-11-25 00:53:50
> 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

谢谢数据!一开始就没注意到第二次可以从4开始wa掉了,另外用vector就超时,用数组79ms过,为啥?

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