/in/foo.cc: In function 'void turn(std::string&)':
/in/foo.cc:6:19: 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:27:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | for (int i = tempb; i < num.length(); i++)
| ~~^~~~~~~~~~~~~~
/in/foo.cc:26:8: warning: unused variable 'templen' [-Wunused-variable]
26 | int templen = num.length() - ans.length();
| ^~~~~~~
/in/foo.cc:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | for (int i = 0;i < num.length();i++) //模拟进位
| ~~^~~~~~~~~~~~~~