Algoteka

Lazy Propagation Segment Tree - All languages

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 languages:

# Language Count
1 C++ 1

Unverified languages:

# Language Count
No unverified languages ...
View problem discussion (0 comments)