Spoj Venom — Binary Search

Revision en1, by restart., 2015-09-26 12:41:54

this problem could be solved by quadratic roots. takes o(1). By i want to solve this using binary search. But i can't implement the logic in code correctly. please help. TIA...

Tags binary search, c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English restart. 2015-09-26 12:41:54 270 Initial revision (published)