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

mdazmat9's blog

By mdazmat9, history, 3 months ago, In English,

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

Read more »

 
 
 
 
  • Vote: I like it
  • +24
  • Vote: I do not like it