Fast way to do this

Правка en1, от Dumbledore, 2016-01-19 20:49:56

I have a problem were I need to answer two kinds of queries. The first query is to change the value of number at index i of the array to x. The second one is to find the number of elements lesser than x in (index) range [0, r]. Could you help me on this?
Thank you in advance.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Dumbledore 2016-01-19 20:49:56 298 Initial revision (published)