/in/foo.cc: In function 'void turn(std::string&)':
/in/foo.cc: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.length() / 2; i++)
| ~~^~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:31:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | for (int i = tempb; i < num.length(); i++)
| ~~^~~~~~~~~~~~~~
/in/foo.cc:30:9: warning: unused variable 'templen' [-Wunused-variable]
30 | int templen = num.length() - ans.length();
| ^~~~~~~
/in/foo.cc:38:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for (int i = 0; i < num.length(); i++)
| ~~^~~~~~~~~~~~~~
/in/foo.cc:44:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | for (int i = 0; i < ans.length(); i++)
| ~~^~~~~~~~~~~~~~