foo.c:3:6: warning: return type of 'main' is not 'int' [-Wmain]
3 | void main()
| ^~~~
foo.c: In function 'main':
foo.c:16:9: warning: too many arguments for format [-Wformat-extra-args]
16 | printf("Yes\n",m);
| ^~~~~~~
foo.c:18:9: warning: too many arguments for format [-Wformat-extra-args]
18 | printf("No\n",m);
| ^~~~~~
foo.c:19:9: warning: 'return' with a value, in function returning void [-Wreturn-type]
19 | return 0;
| ^
foo.c:3:6: note: declared here
3 | void main()
| ^~~~
foo.c:9:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
9 | scanf("%d",&m);
| ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务