Problem | exam |
---|---|
User | alettuce |
Submission Time | 2024-02-23 13:42:52 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:7:5: error: expected ‘(’ before ‘x’
7 | if x == 1 {
| ^
| (
exam.cpp:9:4: error: ‘else’ without a previous ‘if’
9 | } else {
| ^~~~
exam.cpp:18:10: error: expected ‘;’ before ‘}’ token
18 | return 0
| ^
| ;
19 | }
| ~