foo.cc: In function 'int solve(std::string&, std::string&)':
foo.cc:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   12 |         while (i < s.size())
      |                ~~^~~~~~~~~~
foo.cc:19:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   19 |                 if (j == t.size()) cnt++;
      |                     ~~^~~~~~~~~~~
   
  
    [Hydro](https://hydro.ac)提供评测服务