Problem | lcs |
---|---|
User | christal |
Submission Time | 2023-12-23 15:17:09 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lcs.cpp: In function ‘int main()’:
lcs.cpp:6:14: error: expected initializer before numeric constant
6 | string text 1, text 2;
| ^
lcs.cpp:7:9: error: ‘text’ was not declared in this scope; did you mean ‘atexit’?
7 | cin >> text 1;
| ^~~~
| atexit
lcs.cpp:9:31: error: ‘text1’ was not declared in this scope
9 | int longestCommonSubsequence(text1, text2){
| ^~~~~
lcs.cpp:9:38: error: ‘text2’ was not declared in this scope
9 | int longestCommonSubsequence(text1, text2){
| ^~~~~
lcs.cpp:9:43: error: expression list treated as compound expression in initializer [-fpermissive]
9 | int longestCommonSubsequence(text1, text2){
| ^