foo.cc: In function 'void work()':
foo.cc:103:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
103 | scanf("%d%lf%d%d",&n,&wf,&s,&t);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:107:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
107 | scanf("%lf%lf",&x[(i-1)*4+j],&y[(i-1)*4+j]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:108:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
108 | scanf("%lf",&wt[(i-1)*4+1]);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:124:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
124 | scanf("%d",&tz);
| ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务