foo.cc: In function 'int dts::search(int, int)':
foo.cc:99:5: warning: control reaches end of non-void function [-Wreturn-type]
     }
     ^
foo.cc: In function 'void dts::main()':
foo.cc:106:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
                 scanf("%d%d",&a[i].Y,&a[i].R);
                 ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:109:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
             scanf("%d",&m);
             ~~~~~^~~~~~~~~
foo.cc:113:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
                 scanf("%d%d",&xv,&yv);
                 ~~~~~^~~~~~~~~~~~~~~~
   
  
    正在同步测试数据,请稍后
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。