Problem exam
User garrett
Submission Time 2024-11-07 11:48:07
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:6:6: error: expected initializer before ‘x’
6 | int x;
| ^
exam.cpp:7:12: error: ‘x’ was not declared in this scope
7 | cin >> x;
| ^
exam.cpp:11:13: error: expected initializer before ‘A’
11 | int A,B;
| ^
exam.cpp:12:16: error: ‘A’ was not declared in this scope
12 | cin >> A >> B;
| ^
exam.cpp:12:21: error: ‘B’ was not declared in this scope
12 | cin >> A >> B;
| ^