Hello people of Codeforces :)
I was solving a problem that had two types of operations: 1 — Insert element X the sequence 2- What is the kth largest element of the sequence. How to solve this type of problem?
The sequence may have 10 ^ 5 elements, and may have 10 ^ 5 queries.
Tks. :D




