Problem exam
User Anonymous35V
Submission Time 2023-11-08 11:14:04
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:6:15: error: empty character constant
6 | ' if 'x = 2'';
| ^~
exam.cpp:11:13: error: empty character constant
11 | 'if 'x = 1'',
| ^~
exam.cpp: In function ‘int32_t main()’:
exam.cpp:6:4: error: unable to find character literal operator ‘operator""x’ with ‘int’ argument
6 | ' if 'x = 2'';
| ^~~~~~~
exam.cpp:11:3: error: unable to find character literal operator ‘operator""x’ with ‘int’ argument
11 | 'if 'x = 1'',
| ^~~~~~