Problem lcs
User wtnetlegend
Submission Time 2025-03-13 11:47:22
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcs.cpp: In function ‘int ans(std::string, std::string)’:
lcs.cpp:16:22: error: ‘v’ was not declared in this scope
16 | for (int i = 0; i < v.size(); i++) {
| ^
lcs.cpp:17:36: error: ‘arr’ was not declared in this scope
17 | int rowimax = *max_element(arr[i].begin(), arr[i].end());
| ^~~