Memory Limit Exceeded in a DP problem.

Правка en1, от Satwik_Mishra1, 2020-10-05 08:01:27

Just wrote a recursive code and memoised it,sample test cases do pass but memory limit exceeds in test 4. please help,thanks in advance:). link to my code:https://mirror.codeforces.com/contest/545/submission/94629751.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Satwik_Mishra1 2020-10-05 08:01:27 252 Initial revision (published)