Problem brick
User VNHbest
Submission Time 2024-01-27 08:30:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:15:27: error: ‘max’ cannot be used as a function
15 | dp[i]= max(dp[i+1],arr[i]);
| ^