0_0_22911375_31831.cpp: In function 'int main()':
0_0_22911375_31831.cpp:27:72: error: 'max' was not declared in this scope
dp[i][j] = max(dp[i+1][j],max(dp[i+1][j+1],dp[i+1][j-1]))+dp[i][j];
^
0_0_22911375_31831.cpp:27:73: error: 'max' was not declared in this scope
dp[i][j] = max(dp[i+1][j],max(dp[i+1][j+1],dp[i+1][j-1]))+dp[i][j];
^
0_0_22911375_31831.cpp:27:73: error: redeclaration of '<typeprefixerror>max'
0_0_22911375_31831.cpp:27:72: note: previous declaration '<typeprefixerror>max'
dp[i][j] = max(dp[i+1][j],max(dp[i+1][j+1],dp[i+1][j-1]))+dp[i][j];
^
|