Problem exam
User RaichuAR
Submission Time 2024-01-05 23:50:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

exam.cpp:10:4: error: stray ‘\357’ in program
10 | if(x == 1){
| ^
exam.cpp:10:5: error: stray ‘\274’ in program
10 | if(x == 1){
| ^
exam.cpp:10:6: error: stray ‘\210’ in program
10 | if(x == 1){
| ^
exam.cpp:13:6: error: stray ‘\357’ in program
13 | else(x == 2){
| ^
exam.cpp:13:7: error: stray ‘\274’ in program
13 | else(x == 2){
| ^
exam.cpp:13:8: error: stray ‘\210’ in program
13 | else(x == 2){
| ^
exam.cpp: In function ‘int32_t main()’:
exam.cpp:10:7: error: expected ‘(’ before ‘x’
10 | if(x == 1){
| ^
| (
exam.cpp:13:2: error: ‘else’ without a previous ‘if’
13 | else(x == 2){
| ^~~~
exam.cpp:13:15: error: expected ‘;’ before ‘)’ token
13 | else(x == 2){
| ^
| ;