match.cpp: In function 'void Precompute(std::string)':
match.cpp:15:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
15 | for (int i = 0; i < S.size(); ++ i ) {
| ~~^~~~~~~~~~
match.cpp: In function 'void Solve(std::string)':
match.cpp:34:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | for (int i = 0; i < S.size(); ++ i ) {
| ~~^~~~~~~~~~
match.cpp:40:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for (int i = 0; i < S.size(); ++ i ) {
| ~~^~~~~~~~~~
match.cpp:46:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | for (int j = i+1; j < S.size(); ++ j ) {
| ~~^~~~~~~~~~
match.cpp:70:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | for (int i = 0; i < S.size(); ++ i )
| ~~^~~~~~~~~~