printer.cpp: In function 'int main()':
printer.cpp:26:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while(j < last.size() && j < s[i].size() && last[j] == s[i][j]) {
| ~~^~~~~~~~~~~~~
printer.cpp:26:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | while(j < last.size() && j < s[i].size() && last[j] == s[i][j]) {
| ~~^~~~~~~~~~~~~
printer.cpp:29:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | for(int k = j; k < last.size(); k++)
| ~~^~~~~~~~~~~~~
printer.cpp:31:26: 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 k = j; k < s[i].size(); k++)
| ~~^~~~~~~~~~~~~
printer.cpp:38:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while(j < last.size() && j < s[i].size() && last[j] == s[i][j]) {
| ~~^~~~~~~~~~~~~
printer.cpp:38:36: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | while(j < last.size() && j < s[i].size() && last[j] == s[i][j]) {
| ~~^~~~~~~~~~~~~
printer.cpp:41:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
41 | for(int k = j; k < last.size(); k++)
| ~~^~~~~~~~~~~~~
printer.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | for(int k = j; k < s[i].size(); k++)
| ~~^~~~~~~~~~~~~