Problem typo
User CKCodeBreaker55
Submission Time 2024-12-17 14:57:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp:10:21: error: missing terminating " character
10 | char s1, s2, t1, t2";
| ^~
typo.cpp: In function ‘int main()’:
typo.cpp:11:2: error: expected initializer before ‘cin’
11 | cin >> S >> T;
| ^~~
typo.cpp:27:11: error: ‘t’ was not declared in this scope
27 | t1 = t[i];
| ^
typo.cpp:32:6: error: ‘t2’ was not declared in this scope; did you mean ‘t1’?
32 | t2 = T[i];
| ^~
| t1
typo.cpp:36:13: error: ‘t2’ was not declared in this scope; did you mean ‘t1’?
36 | if (s1 == t2 and s2 == t1)
| ^~
| t1