Online Judge | Problem Set | Authors | Online Contests | User | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest |
Re:~~-_-|', Long... 13K.(Inside)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: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator