Problem lcs
User christal
Submission Time 2023-12-23 14:59:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lcs.cpp: In function ‘int main()’:
lcs.cpp:5:10: error: expected initializer before ‘text’
5 | int str 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) {
| ^