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

Compile Error

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