Problem exam
User DuckyKayden
Submission Time 2025-07-09 17:06:30
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int32_t main()’:
exam.cpp:15:10: error: ‘A’ was not declared in this scope
15 | cin >> A;
| ^
exam.cpp:16:10: error: ‘B’ was not declared in this scope
16 | cin >> B;
| ^
exam.cpp:17:13: error: expected ‘}’ at end of input
17 | cout << A*B
| ^
exam.cpp:14:14: note: to match this ‘{’
14 | if (x == 2) {
| ^
exam.cpp:17:13: error: expected ‘}’ at end of input
17 | cout << A*B
| ^
exam.cpp:5:16: note: to match this ‘{’
5 | int32_t main() {
| ^