printer.cpp: In function 'int main()':
printer.cpp:17:27: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
17 | if(word[i].size() > maxs)
| ~~~~~~~~~~~~~~~^~~~~~
printer.cpp:22:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
22 | for(int j = 0; j < word[i].size(); j++){
| ~~^~~~~~~~~~~~~~~~
printer.cpp:33:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | for(int j =0; j < lst.size(); j++){
| ~~^~~~~~~~~~~~
printer.cpp:39:25: 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 < lst.size() - cnt; j++) res += '-';
| ~~^~~~~~~~~~~~~~~~~~
printer.cpp:40:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | for(int j = cnt; j < cur.size(); j++) res += (cur[j]);
| ~~^~~~~~~~~~~~
printer.cpp:45:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | for(int i = 0; i < res.size(); i++) cout << res[i] << '\n';
| ~~^~~~~~~~~~~~