foo.c: In function 'main':
foo.c:8:9: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
int n; scanf("%d", &n);
^~~~~~~~~~~~~~~
foo.c:9:12: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
int x, y; scanf("%d", &x);
^~~~~~~~~~~~~~~
foo.c:16:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &y);
^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务