It’s a very useful function to find elements in map.
iterator lower_bound
(const key_type& k);
Returns an iterator pointing to the first element in the container whose key is not considered to go before k (i.e., either it is equivalent or goes after).