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

Правка en1, от 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?

Теги binary search

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский The_Most_Chalishkanchik 2023-12-15 07:21:14 281 Initial revision (published)