Problem lcs
User Yinnotayl64
Submission Time 2026-03-27 15:08:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
lcs.cpp: In function ‘int main()’:
lcs.cpp:6:25: error: expected ‘;’ before ‘string’
6 | ios::sync_with_stdio(0)
| ^
| ;
7 | string s1, s2; cin >> s1 >> s2;
| ~~~~~~
lcs.cpp:7:27: error: ‘s1’ was not declared in this scope; did you mean ‘y1’?
7 | string s1, s2; cin >> s1 >> s2;
| ^~
| y1
lcs.cpp:7:33: error: ‘s2’ was not declared in this scope
7 | string s1, s2; cin >> s1 >> s2;
| ^~