Difference between lower_bound s

Правка en1, от Aryan, 2017-07-22 15:28:17

I really want to know whats the difference between 2 types of lower_bound? 1) lower_bound(st.begin(), st.end(), val) and 2) st.lower_bound(val). As you can see in 28778333 and 28778499 the second type is much much faster!

Теги lower bound

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Aryan 2017-07-22 15:28:17 280 Initial revision (published)