Problem typo
User Joashhh
Submission Time 2024-11-14 14:09:11
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:9:4: error: ‘mismached’ was not declared in this scope; did you mean ‘mismatched’?
9 | mismached.push_back(i);
| ^~~~~~~~~
| mismatched
typo.cpp:13:11: error: ‘mismatchPositions’ was not declared in this scope
13 | int i = mismatchPositions[0], j = mismatchPositions[1];
| ^~~~~~~~~~~~~~~~~
typo.cpp:14:12: error: ‘s1’ was not declared in this scope; did you mean ‘y1’?
14 | if(s1[i] == s2[j] && s1[j] == s2[i]){
| ^~
| y1
typo.cpp:14:21: error: ‘s2’ was not declared in this scope
14 | if(s1[i] == s2[j] && s1[j] == s2[i]){
| ^~
typo.cpp:14:24: error: ‘j’ was not declared in this scope
14 | if(s1[i] == s2[j] && s1[j] == s2[i]){
| ^