foo.cc: In function 'int main()':
foo.cc:36:17: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::vector<long long int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   36 |    for(rll h=0;h<g[i].size();++h)
      |                ~^~~~~~~~~~~~
foo.cc:14:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   14 |  scanf("%lld%lld%lld",&n,&s,&k);
      |  ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:17:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   17 |   scanf("%lld%lld",&w[i],&c[i]);
      |   ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:22:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   22 |   scanf("%lld%lld",&a,&b);
      |   ~~~~~^~~~~~~~~~~~~~~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务