RishabhKejariwal's blog

By RishabhKejariwal, history, 6 years ago, In English

Can anyone please help me with the DP approach to the problem https://mirror.codeforces.com/contest/205/problem/C

My approach till now:https://ideone.com/uBbTzk

| Write comment?
»
6 years ago, # |
  Vote: I like it 0 Vote: I do not like it

You Can use DIGIT DP for It this is an amazing article for it!!! https://mirror.codeforces.com/blog/entry/53960