Problem exam
User Javel17
Submission Time 2024-06-18 10:55:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp: In function ‘int main()’:
exam.cpp:4:6: error: ‘x’ was not declared in this scope
4 | if (x=1) {
| ^
exam.cpp:12:1: error: expected ‘}’ at end of input
12 | }
| ^
exam.cpp:3:11: note: to match this ‘{’
3 | int main(){
| ^