Problem anutforajaroftuna
User ThePwo
Submission Time 2023-09-20 08:46:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

anutforajaroftuna.cpp: In function ‘int32_t main()’:
anutforajaroftuna.cpp:30:86: error: expected ‘)’ before ‘;’ token
30 | else dp[i][j][k] = max((k>=b[i-1]?dp[i-1][j-1][k-b[i-1]]:0 + a[i-1], dp[i-1][j][k]);
| ~ ^
| )