Segment tree and lazy propagation

I am getting WA. Can you please help?
Question: IOPC1207 Problem - CodeChef
My Solution: CodeChef: Practical coding for everyone

This is a question based on lazy propagation. There ain’t any editorial and only 8 submissions are there so am facing a prblm trying to figure out the bug;

Thanks in advance!