foo.cc: In function 'void scanff()':
foo.cc:26:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&n,&m,&H);
~~~~~^~~~~~~~~~~~~~~~~~~
foo.cc:30:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d",&x,&y,&k,&b);
~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'long long int work()':
foo.cc:79:32: warning: 'val' may be used uninitialized in this function [-Wmaybe-uninitialized]
long long x=0,y=H,mid,mid1,val,val1;
^~~
自豪的采用 HydroJudger 进行评测(github.com/hydro-dev/HydroJudger)
{"receive":"2020-05-30T02:53:14.865Z","handle":"2020-05-30T02:53:14.865Z","cache_start":"2020-05-30T02:53:14.872Z","read_cases":"2020-05-30T02:53:23.182Z","judge":"2020-05-30T02:53:23.182Z","done":"2020-05-30T02:53:24.724Z"}