Here is problem:http://acm.timus.ru/problem.aspx?space=1&num=1658
for which test case my solution is wrong:https://ideone.com/AKSZX6??
i did dp[0][0]=1 which is different from AC solution
dynamic programming
Here is problem:http://acm.timus.ru/problem.aspx?space=1&num=1658
for which test case my solution is wrong:https://ideone.com/AKSZX6??
i did dp[0][0]=1 which is different from AC solution