foo.cc: In function 'int main()':
foo.cc:5:9: warning: zero-length gnu_printf format string [-Wformat-zero-length]
5 | printf("");
| ^~
foo.cc:12:10: warning: too many arguments for format [-Wformat-extra-args]
12 | printf("Yes\n", n);
| ^~~~~~~
foo.cc:14:10: warning: too many arguments for format [-Wformat-extra-args]
14 | printf("No\n", n);
| ^~~~~~
foo.cc:6:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
6 | scanf("%d", &n);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务