|  | 
|  | 
| вернуться в форум | I have WA#4 I can't find... Послано Night  27 май 2011 22:59Solution 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 excerciseRe: 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:59I still get wrong answer.Re: No subject I don't know C++ well enough. Algorithm seems to be okAre you sure in construction sort(arr,arr+n); not sort(arr,arr[n]); ?
 
Re: No subject Послано Night  6 июн 2011 01:21Oh thanks ...I already find my mistake.
 
 sort(arr,arr+n) are wrong
 sort(arr+1,arr+n+1); acceped
 | 
 | 
|