|
|
back to boardI 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... 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 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 |
|
|