Simple Dp Problem

Revision en1, by Nil_paracetamol, 2020-12-09 21:13:01

Problem Link

My solution

I've tried all test cases from uDebug and some random test case but could not find out wrong answer.

Is there any corner cases, which i've been not taking?

Tags #dp, #testcase

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Nil_paracetamol 2020-12-09 21:13:01 384 Initial revision (published)