Please help

Revision en1, by I_LOVE_METSUKA, 2018-02-16 14:34:06

I want to add numbers to a set of integers and answer a query how many numbers are there which are less than a given number K. What is an efficient way to implement this other than BIT?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English I_LOVE_METSUKA 2018-02-16 14:34:06 197 Initial revision (published)