BULBS weak test cases

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
10 2
0010001100

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?

1 Like
1 Like

Really dissspointed with the weak test cases. Don’t know how many people got AC with their wrong solutions.
for eg:
1
12 2
000100001000
Correct output is 4 but this code
https://www.codechef.com/viewsolution/38108699 printing 6 and still getting accepted.
Dear admins, Are you looking at this? Please make this contest unrated like the contest Dementia( https://www.codechef.com/DEM2020?itm_campaign=contest_listing ) went unrated due to weak test case in a problem.

Not sure, but I guess out of the 550 AC submissions, if these TC are included, it might AC might reduce to 300

Nothing new, weak test cases are the new norm, happens in every contest.