foo.cc: In function 'void work_1(int)':
foo.cc:22:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for (int i=1;i<a[now].s.size();i++)
| ~^~~~~~~~~~~~~~~~
foo.cc: In function 'int main()':
foo.cc:41:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
41 | scanf("%d%d",&a[i].v,&s_n);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~
foo.cc:44:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
44 | scanf("%d",&a[i].s[j]);
| ~~~~~^~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务