ADDMUL Wrong Answer Codechef

Hi, I have been trying hard to solve the subtask 3 (for 30 points) of the problem
https://www.codechef.com/problems/ADDMUL

I have implemented segment tree with lazy propogation and everything seems fine…But still getting WA.
Can anyone find a test case where the solution not works or any mistake in the code?
(Please keep in mind that the solution is targeted for Subtask 3 only i.e queries of type 3 will not be there).

My solution goes here https://www.codechef.com/viewsolution/10636427