| Problem | typo |
|---|---|
| User | RandomCtfNoob |
| Submission Time | 2025-06-30 17:07:20 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
typo.cpp: In function ‘int main()’:
typo.cpp:20:18: error: expected ‘;’ before ‘if’
20 | diffcount += 1
| ^
| ;
21 | if (inbetweencheck == false){
| ~~
typo.cpp:23:5: error: expected ‘}’ before ‘else’
23 | }else{
| ^~~~
typo.cpp:19:20: note: to match this ‘{’
19 | if (a[i] != b[i]){
| ^
typo.cpp:28:4: error: ‘else’ without a previous ‘if’
28 | }else{
| ^~~~
typo.cpp:29:4: error: ‘inbetweencomb’ was not declared in this scope; did you mean ‘inbetween’?
29 | inbetweencomb = false;
| ^~~~~~~~~~~~~
| inbetween
typo.cpp: At global scope:
typo.cpp:32:2: error: expected unqualified-id before ‘if’
32 | if (diffount == 2 && inbetween){
| ^~
typo.cpp:35:3: error: expected unqualified-id before ‘else’
35 | }else{
| ^~~~
typo.cpp:39:1