/in/foo.cc: In function 'std::__cxx11::string solve(std::__cxx11::string&, int)':
/in/foo.cc:10:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < str.size(); i += m) {
~~^~~~~~~~~~~~
/in/foo.cc: In function 'std::__cxx11::string ifReverse(std::__cxx11::string&, int)':
/in/foo.cc:19:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if ((ans.count() & 1) || (ans.count() == m)) {
~~~~~~~~~~~~^~~~
/in/foo.cc: In function 'std::__cxx11::string doReverse(std::__cxx11::string&)':
/in/foo.cc:27:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i = 0; i < s.size(); ++i) {
~~^~~~~~~~~~