Problem | clearingleaves |
---|---|
User | penguin133 |
Submission Time | 2025-08-06 19:06:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
clearingleaves.cpp: In function ‘int main()’:
clearingleaves.cpp:16:44: error: ‘b’ was not declared in this scope
16 | dp[i][j] = max(dp[i - 1][j], a[i] + t * b[i]);
| ^