Problem exam
User Ningja
Submission Time 2023-11-08 10:07:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:28: error: expected ‘;’ before ‘int’
5 | std::cout << "Hello World"
| ^
| ;
6 | int x;
| ~~~
exam.cpp:7:13: error: ‘x’ was not declared in this scope
7 | std::cin >>x;
| ^