Can someone tell me what is wrong in my implementation of lazy propagation in this [PROBLEM]. If my lazy node is 1 then that segment needs to be flipped and if 0 then no change. I am just able to pass sample test case.
Someone please help:)
. : https://www.codechef.com/problems/FLIPCOIN : https://www.codechef.com/viewsolution/20433084