Problem typo
User Hytoh
Submission Time 2023-04-20 11:33:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

typo.cpp: In function ‘int main()’:
typo.cpp:32:17: error: expected ‘(’ before ‘{’ token
32 | else if {
| ^
| (
typo.cpp: At global scope:
typo.cpp:38:3: error: expected unqualified-id before ‘else’
38 | } else {
| ^~~~
typo.cpp:42:5: error: expected unqualified-id before ‘return’
42 | return 0;
| ^~~~~~
typo.cpp:43:1: error: expected declaration before ‘}’ token
43 | }
| ^