Problem typo
User PrunJuice
Submission Time 2024-02-03 18:57:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:24:30: error: ‘i’ was not declared in this scope
24 | if (count == 2 && (S[i + 1] == T[i] && S[i] == T[i + 1]) && abs(pos2-pos1)==1 || count==0) {
| ^
typo.cpp: At global scope:
typo.cpp:29:1: error: expected declaration before ‘}’ token
29 | }
| ^