foo.cc: In function 'void srch(int)':
foo.cc:56:11: warning: unused variable 'j' [-Wunused-variable]
56 | int i,j;
| ^
foo.cc: In function 'int main()':
foo.cc:75:11: warning: unused variable 'j' [-Wunused-variable]
75 | int i,j;
| ^
foo.cc:76:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
76 | scanf("%d%d",&n,&k);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:78:13: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
78 | scanf("%d%d",&dots[i].x,&dots[i].y);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:88:11: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
88 | system("pause");
| ~~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务