Problem | exam |
---|---|
User | WuYanni |
Submission Time | 2023-11-08 11:16:40 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:7:24: error: expected ‘;’ before ‘}’ token
7 | cout << "Hello World"};
| ^
| ;
exam.cpp:8:2: error: ‘else’ without a previous ‘if’
8 | else (a = 2) {
| ^~~~
exam.cpp:8:14: error: expected ‘;’ before ‘{’ token
8 | else (a = 2) {
| ^~
| ;
exam.cpp: At global scope:
exam.cpp:12:5: error: expected unqualified-id before ‘return’
12 | return 0;
| ^~~~~~
exam.cpp:13:1: error: expected declaration before ‘}’ token
13 | }
| ^