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

Compile Error

lcs.cpp: In function ‘int main()’:
lcs.cpp:5:14: error: expected initializer before numeric constant
5 | string text 1, text 2;
| ^
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){
| ^