Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

Confussion Regurding upper_bound in C++

Правка en3, от RakibJoy, 2023-05-05 13:00:44

Please look at my two submissions.

204540477 204540870

My question is why I am getting TLE in my second submission?

The only difference between these submissions is given in the picture.

As far as I know, the complexity of the upper bound doesn't depend on the value.

Please Help.

Thanks in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en3 Английский RakibJoy 2023-05-05 13:00:44 1 Tiny change: 'ng TLE in y second s' -> 'ng TLE in my second s'
en2 Английский RakibJoy 2023-05-05 12:34:05 76 Tiny change: 'e picture.![ ](/pred' -> 'e picture.\n\n![ ](/pred' (published)
en1 Английский RakibJoy 2023-05-05 12:31:45 387 Initial revision (saved to drafts)