Problem snack
User VNHbest
Submission Time 2024-03-09 09:10:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

snack.cpp: In function ‘int main()’:
snack.cpp:53:13: error: ‘dp’ was not declared in this scope
53 | dp[j] = dp[j] + vec[j + n - i - 1];
| ^~