Help in a DP problem

Revision en1, by t1war1, 2019-03-25 19:17:23

Here is the link to the problem: z-01 paths

The link to my solution: https://ideone.com/SgUPZk

The solution doesn't pass all the test cases. Please suggest the test cases where it goes wrong.

Tags #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English t1war1 2019-03-25 19:17:23 305 Initial revision (published)