lower_bound and upper_bound in vector of pairs

Правка en1, от dgupta0812, 2020-05-01 08:21:14

Hello everyone !! I am new to competetive programming and I am having trouble in searching for a value stored in the first or second value in vector of pairs. So it would be highly grateful of you to explain to me how to do this with the help of comparator function ? Can anyone show the code to search for the lower/upper bound in the first or second value of vector of pair separately ? Thanks in advance !!

Теги vector, pairs, lower_bound, upper_bound

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский dgupta0812 2020-05-01 08:21:14 457 Initial revision (published)