Problem | exam |
---|---|
User | Law |
Submission Time | 2024-06-18 11:06:13 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
exam.cpp: In function ‘int main()’:
exam.cpp:5:2: error: expected initializer before ‘cin’
5 | cin >> x;
| ^~~
exam.cpp:6:6: error: ‘x’ was not declared in this scope
6 | if (x == 1){
| ^
exam.cpp:7:24: error: expected ‘;’ before ‘}’ token
7 | cout << "Hello World"
| ^
| ;
8 | }
| ~