printer.cpp: In function 'int32_t main()':
printer.cpp:18:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | if (mx < words[i].size()) {
| ~~~^~~~~~~~~~~~~~~~~
printer.cpp:45:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for (int i = 1; i < smol.size(); ++i) {
| ~~^~~~~~~~~~~~~
printer.cpp:47:15: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
47 | while (ind < min(cur.size(), smol[i].size()) &&
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printer.cpp:60:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | for (int j = ind + 1; j < smol[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~~
printer.cpp:79:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::__cxx11::basic_string<char> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
79 | for (int i = start; i < big.size(); ++i) {
| ~~^~~~~~~~~~~~
printer.cpp:81:14: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
81 | while (ind < min(cur.size(), big[i].size()) &&
| ~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
printer.cpp:94:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
94 | for (int j = ind + 1; j < big[i].size(); ++j) {
| ~~^~~~~~~~~~~~~~~
printer.cpp:26:3: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
26 | if (words[i][0] == c) {
| ^~