E. Tetrahedron

Revision en3, by A.m-E.r, 2018-02-21 05:11:16

Hello guys,

So recently i was solving this simple DP problem and i was confused when i got an MLE using a memoization table memo[1e7+1][2] however some other codes got Accepted using the same memory as mine .

here is my code , can anyone explain please ? :)

Tags #dp

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en3 English A.m-E.r 2018-02-21 05:11:16 3 Tiny change: 'some others's codes got' -> 'some other codes got'
en2 English A.m-E.r 2018-02-21 03:41:44 3 Tiny change: 'e memo[1e7][2] howev' -> 'e memo[1e7+1][2] howev'
en1 English A.m-E.r 2018-02-21 03:40:49 384 Initial revision (published)