0_0_24536627_15981.cpp: In function 'int cow(int)':
0_0_24536627_15981.cpp:10:13: error: 'dp' was not declared in this scope
if(n>=5&&dp[n-3]&&dp[n-1]) return a[n];
^
0_0_24536627_15981.cpp:11:21: error: 'f' was not declared in this scope
return a[n]=f(n-1)+(n-3);
^
|