Problem exam
User dinginandy
Submission Time 2026-11-02 09:54:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:5:9: error: expected ‘;’ before ‘cin’
5 | cin >>x
| ^
| ;
6 | cin >>a>>b
| ~~~
exam.cpp:12:24: error: ‘answer’ was not declared in this scope
12 | cout << to_string(answer);
| ^~~~~~