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 1613. For Fans of Statistics

I have WA#4 I can't find...
Posted by Night 27 May 2011 22:59
Solution deleted by author

Edited by author 06.06.2011 01:53
Re: I have WA#4 I can't find...
Posted by jlcastrillon 29 May 2011 11:09
you are blowing balloons in this excercise
Re: I have WA#4 I can't find...
Posted by AterLux 30 May 2011 01:50
May be there: L = 0;R = n;

must be L = 1;R = n;
No subject
Posted by Night 1 Jun 2011 19:59
I still get wrong answer.
Re: No subject
Posted by AterLux 1 Jun 2011 22:49
I don't know C++ well enough. Algorithm seems to be ok
Are you sure in construction sort(arr,arr+n); not sort(arr,arr[n]); ?
Re: No subject
Posted by Night 6 Jun 2011 01:21
Oh thanks ...
I already find my mistake.

sort(arr,arr+n) are wrong
sort(arr+1,arr+n+1); acceped