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);
~~~~~^~~~~~~~~~~~~~
正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。