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);
~~~~~^~~~~~~~~
foo.cc:105: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:134: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:115:4: warning: 'idd' may be used uninitialized in this function [-Wmaybe-uninitialized]
++idd;
^~~~~
自豪的采用 HydroJudge 进行评测(github.com/hydro-dev/HydroJudge)
{"receive":"2020-08-11T09:51:55.343Z","handle":"2020-08-11T09:51:55.343Z","done":"2020-08-11T09:51:56.721Z"}