Upper_bound giving TLE under different approaches 
Разница между en1 и en2, 1 символ(ов) изменены
I was doing the question [problem:https://codeforces.com/problemset/problem/1372/B]. Here are my two submissions [submission:271307925] and [submission:271307851]. One of the approaches works correctly while other gives TLE. The only difference between them is how I initialize the iterator 'it' using the upper_bound function. 

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский YogeshZT 2024-07-19 05:17:01 6 Tiny change: '[problem:1372B]. Here a' -> '[problem:1498B]. Here a'
en3 Английский YogeshZT 2024-07-19 05:15:59 43
en2 Английский YogeshZT 2024-07-19 05:13:41 1
en1 Английский YogeshZT 2024-07-19 05:12:50 378 Initial revision (published)