Addition on a segment(Segment tree)

Правка en1, от jaguar1996, 2017-04-23 18:05:51

Hi everybody!

I am solving problem that need addition on a segment and getting sum and minimum on a segment. I have some problem with lazy propagation.

Can you share your code with Segment tree. Preferably recursively)

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский jaguar1996 2017-04-23 18:05:51 259 Initial revision for English translation
ru1 Русский jaguar1996 2017-04-23 17:45:41 272 Первая редакция (опубликовано)