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

Compile Error

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