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