Problem lemonade
User wrizz69
Submission Time 2024-12-14 09:43:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lemonade.cpp: In function ‘int32_t main()’:
lemonade.cpp:14:12: error: ‘d’ was not declared in this scope
14 | int dp[d+2];
| ^
lemonade.cpp:15:9: error: ‘dp’ was not declared in this scope; did you mean ‘p’?
15 | memset(dp, 0, sizeof(dp));
| ^~
| p