0_0_13917097_23569.cpp: In function 'int main()': 0_0_13917097_23569.cpp:26:58: error: 'max' was not declared in this scope dp[j]=max(dp[j-1]+a[j],mmax[j-1]+a[j]); ^