Need help in a DP problem

Revision en2, by retired_, 2020-03-12 22:57:05

This is a problem from HackerEarth March Easy'20. Problem Any help will be appreciated!

Tags #2d-dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en6 English retired_ 2020-03-12 22:59:47 0 (published)
en5 English retired_ 2020-03-12 22:59:19 12
en4 English retired_ 2020-03-12 22:58:36 1 Tiny change: '0.<br />\n![Problem](' -> '0.<br />\n[Problem]('
en3 English retired_ 2020-03-12 22:57:37 6 Tiny change: 'h Easy'20.\n![Proble' -> 'h Easy'20.<br />\n![Proble'
en2 English retired_ 2020-03-12 22:57:05 6 Tiny change: 'n![Problem link ](https://' -> 'n![Problem](https://'
en1 English retired_ 2020-03-12 22:55:56 270 Initial revision (saved to drafts)