Codeforces Round 1133 (Div. 1, Div. 2) is coming soon! Register here. ×

agrawaltanmay17's blog

By agrawaltanmay17, history, 2 years ago, In English

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

Full text and comments »