foo.cc: In function 'int dts::search(int, int)':
foo.cc:99:5: warning: control reaches end of non-void function [-Wreturn-type]
99 | }
| ^
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]
106 | 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]
109 | scanf("%d",&m);
| ~~~~~^~~~~~~~~
foo.cc:113:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
113 | scanf("%d%d",&xv,&yv);
| ~~~~~^~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务