Problem exam
User herngr3y
Submission Time 2026-03-27 14:45:23
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:6:2: error: expected initializer before ‘cin’
6 | cin >> x;
| ^~~
exam.cpp:7:6: error: ‘x’ was not declared in this scope
7 | if (x == 1) {
| ^
exam.cpp:8:28: error: ‘end1’ was not declared in this scope
8 | cout << "Hello World" << end1;
| ^~~~
exam.cpp:12:20: error: ‘end1’ was not declared in this scope
12 | cout << A * B << end1;
| ^~~~