In updation and Query, I don’t see you checking if(s!=e) before pushing the lazy Tree values to it’s children.
here’s my solution(Using Segment Tree Lazy Propagation and Coordinate Compression.): https://ideone.com/w51s0z
The idea is same as your’s so you might see something that helps you.
change MAX_SIZE to 100000,because there can be 80000 unique values in total 40000 ranges.
Thanks. Solved the problem.
I don’t think this is the issue.