can creating reference variable or not of DP array ,make difference ??

Правка en4, от mdazmat9, 2020-04-09 22:55:50

without creating reference variable of dp array — https://codeforces.com/contest/1271/submission/76026065 with creating reference variable of dp array — https://codeforces.com/contest/1271/submission/76032760

In one solution I am not creating reference variable ans inside rec function and solving normally gave WA while making reference variable gave AC .I am unable to find error in my both code rest parts are exactly same .Please look into 'rec' function and help me out . Thank you Problem link : https://codeforces.com/contest/1271/problem/D

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский mdazmat9 2020-04-09 22:55:50 41
en3 Английский mdazmat9 2020-04-09 22:53:18 41
en2 Английский mdazmat9 2020-04-09 22:50:44 88
en1 Английский mdazmat9 2020-04-09 22:45:10 527 Initial revision (published)