Problem lcs
User Schzeey
Submission Time 2023-02-17 21:16:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcs.cpp: In function ‘int longestCommonString(std::string, std::string, int, int)’:
lcs.cpp:14:32: error: ‘dp_arr’ was not declared in this scope
14 | dp[i][j] = max(dp_arr[i-1][j], dp[i][j-1]);
| ^~~~~~