foo.cc: In function 'void work()':
foo.cc:101:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&m);int id;int x,y;
~~~~~^~~~~~~~~
foo.cc:104:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);add2(y,x);
~~~~~^~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:133:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
~~~~~^~~~~~~~
foo.cc: In function 'void work()':
foo.cc:114:4: warning: 'id' may be used uninitialized in this function [-Wmaybe-uninitialized]
++id;
^~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
正在同步测试数据,请稍后
{"receive":"2020-08-11T09:44:21.887Z","handle":"2020-08-11T09:44:21.887Z","cache_start":"2020-08-11T09:44:21.895Z","read_cases":"2020-08-11T09:44:24.699Z","judge":"2020-08-11T09:44:24.700Z","done":"2020-08-11T09:44:26.962Z"}