WA in FLIPCOIN

problem :: http://www.codechef.com/problems/FLIPCOIN/
My solution:-http://www.codechef.com/viewsolution/4177094
I am trying to solve this problem using lazy propogation…Kindly locate the bug…thnx in advance…