Problem learning
User Pan
Submission Time 2024-01-23 10:51:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

learning.cpp: In function ‘int main()’:
learning.cpp:46:50: error: expected ‘;’ before ‘if’
46 | if (j>=1) dp[i][j] = max(dp[i][j], dp[i][j-1])
| ^
| ;
47 | if (i>=1) dp[i][j] = max(dp[i][j], dp[i-1][j]);
| ~~