Problem lcs
User j0ashhh
Submission Time 2026-02-20 15:33:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcs.cpp: In function ‘int lcs(std::string, std::string)’:
lcs.cpp:6:28: error: expected ‘)’ before ‘;’ token
6 | vector<vector<int>> dp(m+1; vector<int>(n+1, 0));
| ~ ^
| )
lcs.cpp:6:49: error: expected ‘;’ before ‘)’ token
6 | vector<vector<int>> dp(m+1; vector<int>(n+1, 0));
| ^
| ;