Problem typo
User Esan
Submission Time 2024-06-19 10:06:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:32:44: error: ‘dif’ was not declared in this scope; did you mean ‘div’?
32 | if (diffCount == 2 && S[diffPos1] == T[dif
| ^~~
| div
typo.cpp:32:47: error: expected ‘]’ at end of input
32 | if (diffCount == 2 && S[diffPos1] == T[dif
| ~~~^
| ]
typo.cpp:32:47: error: expected ‘)’ at end of input
32 | if (diffCount == 2 && S[diffPos1] == T[dif
| ~ ~~~^
| )
typo.cpp:32:44: error: expected statement at end of input
32 | if (diffCount == 2 && S[diffPos1] == T[dif
| ^~~
typo.cpp:32:44: error: expected ‘}’ at end of input
typo.cpp: