Problem on Lazy Propogation

Revision en1, by 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?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English zscoder 2016-02-07 17:12:16 323 Initial revision (published)