Problem beareatrabbit
User NgMinSong123
Submission Time 2024-10-22 11:26:35
Score 0
Max Time N/A
Max Memory N/A

Compile Error

beareatrabbit.cpp: In function ‘int main()’:
beareatrabbit.cpp:15:32: error: expected ‘;’ before ‘}’ token
15 | dp[i] = max(arr[i], dp[i-1])
| ^
| ;
16 | } else {
| ~