foo.c: In function 'main':
foo.c:14:3: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
14 | if(d==0)
| ^~
foo.c:16:4: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if'
16 | x=x/10;}
| ^
foo.c:5:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
5 | scanf("%d",&y);
| ^~~~~~~~~~~~~~
foo.c:14:5: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
14 | if(d==0)
| ^
[Hydro](https://hydro.ac)提供评测服务