1 count dp problem

The code is giving an error in sample test case.
Link - https://ide.codingblocks.com/s/325581

@Mansi2103
refer to this corrected code https://ide.codingblocks.com/s/325647

Please mark your doubt as resolved and rate as well :slight_smile: