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