0_0_37121063_32159.cpp: In function 'int main()': 0_0_37121063_32159.cpp:25:26: error: 'max' was not declared in this scope dp[i][j]=max; ^