Problem exam
User herngr3y
Submission Time 2026-03-27 17:00:01
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:6: error: ‘x’ was not declared in this scope
5 | int x;
| ^
exam.cpp:8:33: error: ‘end1’ was not declared in this scope
8 | cout << x << "Hello World" << end1;
| ^~~~
exam.cpp:10:7: error: ‘A’ was not declared in this scope
10 | int A, B;
| ^
exam.cpp:10:10: error: ‘B’ was not declared in this scope
10 | int A, B;
| ^
exam.cpp:12:23: error: ‘end1’ was not declared in this scope
12 | cout << x << A*B << end1;
| ^~~~