Problem | typo |
---|---|
User | PrunJuice |
Submission Time | 2024-02-03 18:58:11 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
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 | }
| ^
typo.cpp:30:1: error: expected declaration before ‘}’ token
30 | }
| ^