foo.c: In function 'main':
foo.c:9:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
9 | else if(x<0&&y>0);
| ^~
foo.c:10:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
10 | printf("2");
| ^~~~~~
foo.c:11:9: error: 'else' without a previous 'if'
11 | else if(x<0&&y<0);
| ^~~~
foo.c:11:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
11 | else if(x<0&&y<0);
| ^~
foo.c:12:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
12 | printf("3");
| ^~~~~~
foo.c:13:9: error: 'else' without a previous 'if'
13 | else if(x>0&&y<0);
| ^~~~
foo.c:13:14: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
13 | else if(x>0&&y<0);
| ^~
foo.c:14:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
14 | printf("4");
| ^~~~~~
foo.c:15:9: error: 'else' without a previous 'if'
15 | else();
| ^~~~
foo.c:15:14: error: expected expression before ')' token
15 | else();
| ^
[Hydro](https://hydro.ac)提供评测服务