So I was solving problem D from the latest contest when I encounter a bizarre behavior. In this 306418240 the output to the second testcase is clearly incorrect.
The jury's answer is 0 2 4 2
My code's output is 0 2 4 4
Well, my code output the exact same thing as the jury in on my pc. Maybe an uninitialized variable?? No worries, it's the first testcase, I can just debug using the jury's output