foo.cc: In function 'void dts::tr_dfs1(dts::ll, dts::ll)':
foo.cc:29:22: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for (ll i=0;i<tr[now].s.size();i++)
| ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::tr_dfs2(dts::ll)':
foo.cc:41:22: warning: comparison of integer expressions of different signedness: 'dts::ll' {aka 'long long int'} and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for (ll i=0;i<tr[now].s.size();i++)
| ~^~~~~~~~~~~~~~~~~
foo.cc: In function 'void dts::main()':
foo.cc:53:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
53 | scanf("%lld",&n);
| ~~~~~^~~~~~~~~~~
foo.cc:55:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
55 | scanf("%lld",&num[i]);
| ~~~~~^~~~~~~~~~~~~~~~
foo.cc:61:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
61 | scanf("%lld%lld%lld",&x,&y,&c);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务