foo.cc: In function 'int main()':
foo.cc:4:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
~~~~~^~~~~~~~~
foo.cc:5:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);if (x>y) {t=x;x=y;y=t;}if (x>z) {t=x;x=z;z=t;}if (y>z) {t=y;y=z;z=t;}
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:7:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for (t=2;t<=n-2;t++) scanf("%d%d%d",&x,&y,&z);
~~~~~^~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务