|
|
вернуться в форумPlease help me Wa15, in c++ with BINARY SEARCH Послано Fibo 24 июн 2010 19:14 Re: Please help me Wa15, in c++ with BINARY SEARCH Try this test: 1 1 3 2 2 Re: Please help me Wa15, in c++ with BINARY SEARCH Oqromnaya Spasibo Vladimir Yakovlev. You are GREAT. Re: Please help me Wa15, in c++ with BINARY SEARCH What should it give you? Re: Please help me Wa15, in c++ with BINARY SEARCH Regarding 1 1 3 2 2, it means that first element is 1, and third element is 2. Since first+second=third, second is obviously 1. And that is the answer. Howevewer, mine solution is okay with this test and still WA15 for now. Re: Please help me Wa15, in c++ with BINARY SEARCH Послано Aman 15 сен 2016 04:39 |
|
|