Help needed in Recent Div 2 D. Nastya and Scoreboard (Getting TLE on tc 8)

Revision en1, by _asmah98, 2020-04-24 01:23:08

Not sure why this code gives TLE. Any help will be appreciated !

Link to Submission

Tags 637, dp, memoization, dp with recursion

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English _asmah98 2020-04-24 01:24:05 3 Tiny change: 'ves TLE.\nAny help' -> 'ves TLE.\n\nAny help'
en1 English _asmah98 2020-04-24 01:23:08 223 Initial revision (published)