Need help for "Atcoder DP Contest" — E

Revision en2, by sidO_O, 2021-04-14 18:31:11

Problem link

After searching on internet,I've found some iterative DP solutions.

But nowhere I found any recursive DP solution.

Is it solvable by recursive DP?

If YES,what'll be the approach?

If NO,why it can't be solve by recursive DP?

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English sidO_O 2021-04-14 18:31:11 20
en1 English sidO_O 2021-04-14 18:29:21 336 Initial revision (published)