Problem | learning |
---|---|
User | Hhw48 |
Submission Time | 2023-12-27 10:22:01 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
learning.cpp: In function ‘long long int memo(long long int, long long int, long long int, long long int, long long int, long long int)’:
learning.cpp:15:3: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
15 | dp[i]=memo(r[i+1],a[i+1],t[i+1],curr,i+1,exp+l);
| ^~
| mp
learning.cpp:19:3: error: ‘dp’ was not declared in this scope; did you mean ‘mp’?
19 | dp[i]=max(memo(r[i+1],a[i+1],t[i+1],curr,i+1,exp+l),memo(r[i+1],a[i+1],t[i+1],curr-time,i+1,exp+w));
| ^~
| mp