Can this E problem be solved using DP ?

Revision en1, by meriadasbeacon831, 2019-12-18 17:11:36

The problem 44E has a DP tag. I tried to find a solution using DP for it but was hitting a dead end and no one seems to have done it with that approach.

It would be a great help if someone could try and solve through this approach.

Tags #dp, #dynamic programming, #c++

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English meriadasbeacon831 2019-12-18 17:11:36 322 Initial revision (published)