BiNarY_OVerFloW's blog

By BiNarY_OVerFloW, history, 7 weeks ago, In English

https://codeforces.com/contest/1486/submission/108784497 This is my submission for C2 problem of round #703 it is giving me WA on test case 3 and i am not able to figure it out Can Anyone Help? It would be highly appreciated.

 
 
 
 
  • Vote: I like it
  • +7
  • Vote: I do not like it

»
7 weeks ago, # |
  Vote: I like it 0 Vote: I do not like it

**variable taken according to your submissions.

If you are searching on left then you have to get more closer to smax(variable you have taken) you have to ask query(mid,smax)==smax. else if you want to find on right side than you have to ask query like this query(smax,mid)=smax.

Your accepted solution:https://codeforces.com/contest/1486/submission/108786043