Algoteka
View all languages for this problem (1 verified and 0 unverified)

Lazy Propagation Segment Tree - Samples for C++

Problem by oml1111

Problem description:

Implement a Segment Tree data structure with Lazy Propagation for tracking range sums. Set all elements in some range to some value, then increment all values in some range, then output the sum of all elements in some range.

Verified samples:

# Tech tags Title Creator Created date
1 0
oml1111
2022-08-12 03:28

Unverified samples:

# Tech tags Title Creator Created date
No unverified samples ...
View problem discussion (0 comments)