foo.c: In function 'main':
foo.c:26:10: warning: too many arguments for format [-Wformat-extra-args]
26 | printf("Yes\n",n);
| ^~~~~~~
foo.c:28:10: warning: too many arguments for format [-Wformat-extra-args]
28 | printf("No\n",n);
| ^~~~~~
foo.c:27:2: warning: this 'else' clause does not guard... [-Wmisleading-indentation]
27 | else
| ^~~~
foo.c:29:3: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'else'
29 | return 0;
| ^~~~~~
foo.c:24:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
24 | scanf("%d",&n);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务