codersgroup18's blog

By codersgroup18, history, 4 years ago, In English

Can anyone explain the reason for three dp tables in the tutorial code of this problem https://codeforces.com/contest/1367/problem/F2

I tried to do with one dp table but didn't get the correct ans.

please explain the which dp table used for what?? THANKS IN ADVANCE

Full text and comments »

  • Vote: I like it
  • 0
  • Vote: I do not like it