1 Count Problem (DP Section)

My code - https://ide.codingblocks.com/s/266875
Sir, what’s wrong in my code? All other test cases are passing but it’s giving wrong answer for test case 0.

@beast_07 check for
1 0
0
correct ans -
0
0
dont forget to hit like and mark resolved if cleared :smiley:

1 Like