kdeepak's blog

By kdeepak, history, 4 years ago, In English

Hello Codeforces, I am having difficulty in writing dp solution using memoization. I am not able to understand why my answer is 11 for test case 314159.

Problem link — https://mirror.codeforces.com/problemset/problem/538/B

My solution link — https://mirror.codeforces.com/problemset/submission/538/164245892

Thank you

Full text and comments »

  • Vote: I like it
  • +2
  • Vote: I do not like it