Problem on Lazy Propogation

Правка en1, от zscoder, 2016-02-07 17:12:16

For this problem, the tutorial states that maintaining the sum of a Geometric Progression is a simple problem that can be solved using Segment Tree. However, I don't know how to do this (I think Lazy Propogation should be involved). Any help please?

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский zscoder 2016-02-07 17:12:16 323 Initial revision (published)