Need Help in "Chef and Pepperoni Pizza Again "

Problem Link: CodeChef: Practical coding for everyone
My WA solution: https://www.codechef.com/viewsolution/30400157
Can somebody please help me out in figuring out a test case for which my code fails

1
4
1110
1110
1100
0000

Little difficult to debug your code, but here’s a test case.

2 Likes

thanks a ton buddy !

I’m so sorry i forgot to copy the last line.

https://www.codechef.com/viewsolution/30465007
passing it now but still WA can you give another test
case if possible :sweat_smile:

I don’t have time right now😥. I’ll try in a few hours.