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:~~-_-|', Long... 13K.(Inside)

Posted by insany at 2006-03-15 16:55:46 on Problem 2761
In Reply To:~~-_-|', Long... 13K.(Inside) Posted by:C6H6 at 2006-03-15 14:20:06
> Perhaps you didn't take into account the case that there are some numbers of the same value in the input.
> Give you a set of data your code failed to deal with:
> 7 3
> 1 5 1 1 1 2 2
> 1 3 2
> 2 4 1
> 3 7 3
> 
> Correct ans:
> 1
> 1
> 1
> 
> Yours:
> 5
> 1
> -1
> ( vc6.0 c++ )
> 
> Sorry your code is too long for me to read. What's more, I didn't use
> class before. It makes me be afraid of your program.
> :)
> 

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