0_0_32736446_18021.cpp: In function 'int main()': 0_0_32736446_18021.cpp:20:42: error: '_MAX' was not declared in this scope dp[i][j]=_MAX(dp[i+1][j],dp[i+1][j+1])+a[i][j]; ^