Array and queries
Practice
5 (6 votes)
Medium
Ad Hoc
Lazy propagation in interval/segment trees
Advanced data structures
Data structures
普通
Code Editor

Please login to use the editor

You need to be logged in to access the code editor

Loading...

Please wait while we load the editor

Loading...
Results
Custom Input
Run your code to see the output
Submissions
Please login to view your submissions
Similar Problems
Points:30
Tags:
Medium
Points:30
98 votes
Tags:
Advanced Data StructuresData StructuresLazy Propagation in Interval/Segment Trees
Points:30
Tags:
Data StructuresMediumApprovedSegment treeData Structures
Editorial

Login to unlock the editorial