palinilap.cpp: In function 'int count(std::string)':
palinilap.cpp:7:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | for (int i=0; i<s.size(); i++){
| ~^~~~~~~~~
palinilap.cpp:9:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | for (int j=1; j<s.size(); j++){
| ~^~~~~~~~~
palinilap.cpp:11:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if (l<0 || r>s.size()-1) break;
| ~^~~~~~~~~~~
palinilap.cpp:17:17: 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++){
| ~^~~~~~~~~~~
palinilap.cpp:19:18: 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=1; j<s.size(); j++){
| ~^~~~~~~~~
palinilap.cpp:21:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if (l<0 || r>s.size()-1) break;
| ~^~~~~~~~~~~
palinilap.cpp: In function 'int main()':
palinilap.cpp:32:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | for (int i=0; i<s.size(); i++){
| ~^~~~~~~~~