Can someone tell me what is wrong in my implementation of lazy propagation in this [PROBLEM][1]. 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:)
[2].
[1]: https://www.codechef.com/problems/FLIPCOIN
[2]: https://www.codechef.com/viewsolution/20433084