printer.cpp: In function 'int main()':
printer.cpp:31:13: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
31 | for (; i < min(lastWord.size(), w.size()); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printer.cpp:39:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | for (int j = 0; j < lastWord.size() - i; j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
printer.cpp:42:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | for (; i < w.size(); i++)
| ~~^~~~~~~~~~
printer.cpp:65:12: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
65 | for (; i < min(lastWord.size(), w.size()); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printer.cpp:73:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
73 | for (int j = 0; j < lastWord.size() - i; j++)
| ~~^~~~~~~~~~~~~~~~~~~~~
printer.cpp:76:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | for (; i < w.size(); i++)
| ~~^~~~~~~~~~