foo.c: In function 'main':
foo.c:7:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
7 | while(1);
| ^~~~~
foo.c:8:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
8 | {
| ^
foo.c:13:19: warning: left-hand operand of comma expression has no effect [-Wunused-value]
13 | while(x>=3,y>=4);
| ^
foo.c:13:9: warning: this 'while' clause does not guard... [-Wmisleading-indentation]
13 | while(x>=3,y>=4);
| ^~~~~
foo.c:14:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'while'
14 | {
| ^
foo.c:5:10: warning: 'n' is used uninitialized [-Wuninitialized]
5 | x=n,y=n;
| ~^~
foo.c:4:17: note: 'n' declared here
4 | int x,y,n,sum;
| ^
[Hydro](https://hydro.ac)提供评测服务