What is wrong with the following code for MULTQ3 ?

Hello, I have used segment tree with lazy propagation for the problem.


I have stored 3 things in the segment tree (no of numbers with mod 0, 1 and 2). I have tried several test cases for the problem, but I am unable to find any test case which gives problem with the code.
Can somebody provide a test case on which this code wouldn’t work or any problem in the code ?
[Solution][1]
[1]: https://www.codechef.com/viewplaintext/9021335