0_0_32763685_26826.cpp: In function 'int main()': 0_0_32763685_26826.cpp:19:43: error: 'max' was not declared in this scope dp[j] =max(dp[j],dp[j-k]+w[i][k]); ^