Problem beareatrabbit
User Nikelodean
Submission Time 2025-12-19 16:24:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:9:25: error: ‘d’ was not declared in this scope; did you mean ‘dp’?
9 | ll dp[n+1]; dp[0] = 0; d[[1] = max(a[1], 0);
| ^
| dp
beareatrabbit.cpp:9:26: error: two consecutive ‘[’ shall only introduce an attribute before ‘[’ token
9 | ll dp[n+1]; dp[0] = 0; d[[1] = max(a[1], 0);
| ^