0_0_39802364_13923.cpp: In function 'int main()':
0_0_39802364_13923.cpp:18:41: error: invalid types 'long long int[int]' for array subscript
18 | dp[i][j][0] = max(dp[i-1][j][0],dp[i-1][j][1]);
| ^
0_0_39802364_13923.cpp:18:61: error: invalid types 'long long int[int]' for array subscript
18 | dp[i][j][0] = max(dp[i-1][j][0],dp[i-1][j][1]);
| ^
0_0_39802364_13923.cpp:18:75: error: invalid types 'long long int[int]' for array subscript
18 | dp[i][j][0] = max(dp[i-1][j][0],dp[i-1][j][1]);
| ^
0_0_39802364_13923.cpp:19:41: error: invalid types 'long long int[int]' for array subscript
19 | dp[i][j][1] = max(dp[i-1][j][1],max(dp[i-1][j-1][1],dp[i-1][j-1][0])) + a[i];
| ^
0_0_39802364_13923.cpp:19:61: error: invalid types 'long long int[int]' for array subscript
19 | dp[i][j][1] = max(dp[i-1][j][1],max(dp[i-1][j-1][1],dp[i-1][j-1][0])) + a[i];
| ^
0_0_39802364_13923.cpp:19:81: error: invalid types 'long long int[int]' for array subscript
19 | dp[i][j][1] = max(dp[i-1][j][1],max(dp[i-1][j-1][1],dp[i-1][j-1][0])) + a[i];
| ^
0_0_39802364_13923.cpp:19:97: error: invalid types 'long long int[int]' for array subscript
19 | dp[i][j][1] = max(dp[i-1][j][1],max(dp[i-1][j-1][1],dp[i-1][j-1][0])) + a[i];
| ^
0_0_39802364_13923.cpp:22:37: error: invalid types 'long long int[int]' for array subscript
22 | cout << max(dp[n][m][0],dp[n][m][1]);
| ^
0_0_39802364_13923.cpp:22:49: error: invalid types 'long long int[int]' for array subscript
22 | cout << max(dp[n][m][0],dp[n][m][1]);
| ^
|