Hey guys do you even know how lower/upper_bound() works with pairs?

Revision en1, by The_Most_Chalishkanchik, 2023-12-15 07:21:14

I often have problems when I need to find a certain 'x' in the position of the first elements in the pair vector. Of course, it's better to write your own binary search. But can someone explain how it works anyway?

Tags binary search

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English The_Most_Chalishkanchik 2023-12-15 07:21:14 281 Initial revision (published)