messy.cpp: In function 'std::vector<int> swappedBetween(std::string)':
messy.cpp:9:23: 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 i = 0; i < s.size(); i++) {
| ~~^~~~~~~~~~
messy.cpp:14:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | for (int i = 0; i < s.length(); i++) {
| ~~^~~~~~~~~~~~
messy.cpp:19:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for (int i = 0; i < zeroes.size(); i++) {
| ~~^~~~~~~~~~~~~~~
messy.cpp:20:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
20 | for (int j = 0; j < ones.size(); j++) {
| ~~^~~~~~~~~~~~~
messy.cpp:13:17: warning: control reaches end of non-void function [-Wreturn-type]
13 | vector<int> zeroes, ones;
| ^~~~~~