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