in problem BULBS AND WIRES (September Cook-Offf) here
my submission got passed [here] (https://www.codechef.com/viewsolution/38059255)
However this code will fail in multiple test cases such as
correct output : 3. (As you can just cut left wire of extreme left 1 and right wire of extreme right 1 )
my output : 4
All such test cases will fail!.
Moreover more similar submissions got passed! Am i wrong?