Owl Get a Life
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]); | ^