Problem lcs
User christal
Submission Time 2023-12-23 15:00:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcs.cpp: In function ‘int main()’:
lcs.cpp:5:2: error: ‘str’ was not declared in this scope; did you mean ‘std’?
5 | str text 1, text 2;
| ^~~
| std
lcs.cpp:6:31: error: ‘text1’ was not declared in this scope
6 | int longestCommonSubsequence(text1, text2){
| ^~~~~
lcs.cpp:6:38: error: ‘text2’ was not declared in this scope
6 | int longestCommonSubsequence(text1, text2){
| ^~~~~
lcs.cpp:6:43: error: expression list treated as compound expression in initializer [-fpermissive]
6 | int longestCommonSubsequence(text1, text2){
| ^