|
|
back to boardPlease help me Wa15, in c++ with BINARY SEARCH Posted by Fibo 24 Jun 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 Posted by Aman 15 Sep 2016 04:39 |
|
|