Problem figurines
User Hhw48
Submission Time 2023-12-27 11:08:26
Score 0
Max Time N/A
Max Memory N/A

Compile Error

figurines.cpp: In function ‘long long int memo(long long int, long long int)’:
figurines.cpp:22:24: error: array must be initialized with a brace-enclosed initializer
22 | int dp[i]=memo(i+1,m)+memo(i+1,m-arr[i]);
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~