/in/foo.cc: In function 'int pattern_matching(std::__cxx11::string&, std::__cxx11::string&)':
/in/foo.cc:30:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (ps < s.length()) {
~~~^~~~~~~~~~~~
/in/foo.cc:34:20: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (pp >= p.length()) {
~~~^~~~~~~~~~~~~
/in/foo.cc: In function 'void solution()':
/in/foo.cc:60:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
while (i < nums.size()) {
~~^~~~~~~~~~~~~