foo.cc: In function 'int main()':
foo.cc:4:21: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
#define In() freopen("in.in","r",stdin)
~~~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:48:1: note: in expansion of macro 'In'
In();
^~
foo.cc:49:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);mem(head,-1);
~~~~~^~~~~~~~~~~~~~
foo.cc:53:6: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&u,&v);
~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务