numbers.cpp: In function 'bool pol(std::string)':
numbers.cpp:6:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
6 | for(int i = 0; i < s.size() / 2; ++i)
| ~~^~~~~~~~~~~~~~
numbers.cpp: In function 'bool ok(int)':
numbers.cpp:18:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | for(int i = 0; i < s.size() - 1; i++)
| ~~^~~~~~~~~~~~~~
numbers.cpp:20:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for(int j = i + 1; j < s.size(); j++)
| ~~^~~~~~~~~~