foo.cc: In member function 'void dts::heap::pop()':
foo.cc:63:33: 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]
63 | for (ll i=1,j;(i<<1)<h.size();i=j)
| ~~~~~~^~~~~~~~~
foo.cc:68:31: 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]
68 | if (((i<<1)|1)<h.size())
| ~~~~~~~~~~^~~~~~~~~
foo.cc:73: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]
73 | if (j<h.size())
| ~^~~~~~~~~
foo.cc: In function 'void dts::main()':
foo.cc:98:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
98 | scanf("%lld",&d[i]);
| ~~~~~^~~~~~~~~~~~~~
foo.cc:100:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
100 | scanf("%lld",&w[i]);
| ~~~~~^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务