Help required

problem : https://codeforces.com/problemset/problem/489/B
my solution : https://codeforces.com/contest/489/submission/57833202

I am getting wrong answer on test 34.

@aryanc403 @loopfree @anon55659401 @vijju123 @taran_1407

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

3 Likes