Problem kas
User haydendoo
Submission Time 2023-05-30 15:48:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

kas.cpp: In function ‘int main()’:
kas.cpp:24:26: error: ‘total’ was not declared in this scope
24 | cout << dp[n-1][mxN] - (total-dp[n-1][mxN])*2;
| ^~~~~