problem : Problem - 489B - Codeforces
my solution : Submission #57833202 - Codeforces
I am getting wrong answer on test 34.
problem : Problem - 489B - Codeforces
my solution : Submission #57833202 - Codeforces
I am getting wrong answer on test 34.
The problem is with the initialization of the DP-Table, Initialize the values in the table to 0, This is the updated code with the change - code