|
|
вернуться в форумI have WA#4 I can't find... Послано Night 27 май 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... May be there: L = 0;R = n; must be L = 1;R = n; No subject Послано Night 1 июн 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 Послано Night 6 июн 2011 01:21 Oh thanks ... I already find my mistake. sort(arr,arr+n) are wrong sort(arr+1,arr+n+1); acceped |
|
|