Help needed in a DP Problem..

Revision en1, by Polar_, 2019-11-19 11:36:11

Today I was trying to solve this problem . But I couldn't solve it . So I tried to understand some solution but still ;( .

Spoiler

I saw this code but couldn't understand . Can anybody help me getting this solution or can you please tell me how to solve this problem .
Thanks ...

Tags dp, problem

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Polar_ 2019-11-19 11:36:11 1729 Initial revision (published)