foo.cc: In function 'void Solve()':
foo.cc:20:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int j=0;j < ship[i].size();++j)
| ~~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:38:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
38 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
foo.cc:42:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
42 | scanf("%d%d",&t,&k);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:47:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
47 | scanf("%d",&native);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务