0_0_39564147_15117.cpp: In function 'void run()':
0_0_39564147_15117.cpp:14:52: error: expected ';' before '{' token
14 | }else if((y!=1 and y!=m) and (x==1 or x==n){
| ^
| ;
0_0_39564147_15117.cpp:16:10: error: expected primary-expression before 'else'
16 | }else if((x!=1 and x!=m) and (y==1 or y==n)){
| ^~~~
0_0_39564147_15117.cpp:16:10: error: expected ')' before 'else'
16 | }else if((x!=1 and x!=m) and (y==1 or y==n)){
| ^~~~
| )
0_0_39564147_15117.cpp:14:17: note: to match this '('
14 | }else if((y!=1 and y!=m) and (x==1 or x==n){
| ^
|