0_0_38601593_29916.cpp: In function 'int lcs(int, int)': 0_0_38601593_29916.cpp:16:22: error: 'max' was not declared in this scope dp[n1][n2] = max(lcs(n1, n2 - 1), lcs(n1 - 1, n2)); ^~~