Please, try EDU on Codeforces! New educational section with videos, subtitles, texts, and problems. ×

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

Revision en1, by mdazmat9, 2020-04-09 22:45:10

without creating reference variable of dp array — with creating reference variable of dp array —

In one solution I am not creating reference variable ans 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 it. Problem link :


  Rev. Lang. By When Δ Comment
en4 English mdazmat9 2020-04-09 22:55:50 41
en3 English mdazmat9 2020-04-09 22:53:18 41
en2 English mdazmat9 2020-04-09 22:50:44 88
en1 English mdazmat9 2020-04-09 22:45:10 527 Initial revision (published)