bakuganmaster's blog

By bakuganmaster, 12 years ago, In English

Hi guys :)) I found a problem about segment tree that i wasn't able to solve it efficiently :(

How can one update a segment of numbers (adding X from index L to R) and another query is to get a sum on a segment (L,R);

thanks)

  • Vote: I like it
  • -7
  • Vote: I do not like it