MULTQ3 - Editorial

can someone tell me what is going wrong here. i used 3 segment trees instead of a node containing 3 values .
https://www.codechef.com/viewsolution/29924416

thanks in advanced.

Sol : CodeChef: Practical coding for everyone
Is this problem not for python programmers? I am getting TLE using Segment tree + Lazy Propagation

You forgot to use the modulo operator.
Correct code should have lazy[c]%3==1

can any help me where i am doing the wrong my solution passes for the all the basic test cases i am not able to find any test cases where my solution fails
my solution link - CodeChef: Practical coding for everyone

it is saying run time error
if any one is able to provide a test case which is making run time error it will be great help…

why is this giving tle please help!