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(std::string)':
numbers.cpp:17:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | for(int i = 0; i < s.size() - 1; i++)
| ~~^~~~~~~~~~~~~~
numbers.cpp:19:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int j = i + 1; j < s.size(); j++)
| ~~^~~~~~~~~~
numbers.cpp: In function 'void solve()':
numbers.cpp:40:13: warning: unused variable 'cnt' [-Wunused-variable]
40 | int a, b, cnt = 0, k;
| ^~~
numbers.cpp:40:22: warning: unused variable 'k' [-Wunused-variable]
40 | int a, b, cnt = 0, k;
| ^