foo.cc: In function 'void solve()':
foo.cc:18:18: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   18 |         for(i=0;i<s.size();i++){
      |                 ~^~~~~~~~~
foo.cc:28:22: warning: comparison of integer expressions of different signedness: 'long long int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   28 |         for(int j=i;j<s.size();j++){
      |                     ~^~~~~~~~~
foo.cc:30:40: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   30 |                         printf("Case #%d: %s\n",idx++,"NO");
      |                                       ~^        ~~~~~
      |                                        |           |
      |                                        int         long long int
      |                                       %lld
foo.cc:34:24: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=]
   34 |         printf("Case #%d: %s\n",idx++,"YES");
      |                       ~^        ~~~~~
      |                        |           |
      |                        int         long long int
      |                       %lld
   
  
    [Hydro](https://hydro.ac)提供评测服务