ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1510. Order

WA#9 !
Posted by TimoX 18 Aug 2007 18:46
I thing in this problem impossible get WA.
TLE I understand. But...
What wrong.
I use Qsort and dihotomy.
Can anyone give me some interesting tests?
Thank's!
;)
Re: WA#9 !
Posted by Stanislav Prigodich 20 Aug 2007 04:40
I have a one question.
What here does dichotomy?
It here is not necessary :)
Maybe you don't understand this task?
Try to read again ;)
Re: WA#9 !
Posted by TimoX 20 Aug 2007 15:59
Thank you, Stas!
Now I've got AC.
In my first solution I use binary find[why not dichotomy?!]
But after getting TLE, i see next - "More than half of them are the same."
:)
It's really fanny task!