Problem | typo |
---|---|
User | cyhg |
Submission Time | 2023-10-08 21:37:00 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:17:64: error: expected ‘)’ before ‘{’ token
17 | if ((s[i] != t[i]) & !((s[i] == t[i+1]) & (s[i+1] == t[i])) {
| ~ ^~
| )
typo.cpp:20:3: error: expected primary-expression before ‘}’ token
20 | }
| ^
typo.cpp:21:124: error: expected ‘)’ before ‘{’ token
21 | if ((s[s.length()-1] != t[s.length()-1]) & !((s[s.length()-2] == t[s.length()-1]) & (s[s.length()-2] == t[s.length()-1])) {
| ~ ^~
| )
typo.cpp:29:1: error: expected primary-expression before ‘}’ token
29 | }
| ^