segment

Revision en1, by SHOToRSAVARE_KAZEMSHAHR, 2019-08-27 09:29:22

Hi (; do we have a segment that handle these two queries? 1 : l r d : add an integer d to all elements whose indexes belong to the interval from l to r d<1 2 : l r : how many elements between l and r are bigger than x(x is fixed)

Tags #data structure

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English SHOToRSAVARE_KAZEMSHAHR 2019-08-27 09:29:22 241 Initial revision (published)