Problem exam
User lucasl
Submission Time 2025-01-03 15:26:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

cc1plus: error: ‘::main’ must return ‘int’
exam.cpp: In function ‘int main()’:
exam.cpp:9:2: error: ‘else’ without a previous ‘if’
9 | else if (x == 2);
| ^~~~
exam.cpp:12:3: error: ‘cont’ was not declared in this scope
12 | cont << A * B
| ^~~~