Пожалуйста, подпишитесь на официальный канал Codeforces в Telegram по ссылке https://t.me/codeforces_official. ×

help me to reduce time complexity

Правка en1, от agrawaltanmay17, 2024-08-01 08:22:38

I am using distance function in multiset but it requiers a time complexity of O(n) please help me to count the number of elements which are lesser or equal to a perticular element in multiset

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский agrawaltanmay17 2024-08-01 08:22:38 228 Initial revision (published)