Problem visitingsingapore
User Rolo
Submission Time 2024-04-12 16:41:17
Score 0
Max Time N/A
Max Memory N/A

Compile Error

visitingsingapore.cpp: In function ‘int main()’:
visitingsingapore.cpp:33:81: error: expected ‘;’ before ‘}’ token
33 | dp[i][j] = max({dp[i][j] , dp[i-1][j-1] + v[s[i]] , dp[i-1][j], dp[i][j-1]})
| ^
| ;
34 | }
| ~