printer.cpp: In function 'int main()':
printer.cpp:25:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | while (j < str[i].size() && j < longest.size() && str[i][j] == longest[j]) j++;
| ~~^~~~~~~~~~~~~~~
printer.cpp:25:39: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | while (j < str[i].size() && j < longest.size() && str[i][j] == longest[j]) j++;
| ~~^~~~~~~~~~~~~~~~
printer.cpp:34:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | while (j < str[it].size() && str[it][j] == '{') j++;
| ~~^~~~~~~~~~~~~~~~
printer.cpp:45:27: 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 < t.size(); i++){
| ~~^~~~~~~~~~
printer.cpp:46:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
46 | if (i < s.size() && t[i] == s[i]) cnt++; else
| ~~^~~~~~~~~~
printer.cpp:50:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
50 | while (t.size() > cnt){
| ~~~~~~~~~^~~~~
printer.cpp:55:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | for (int i = cnt; i < s.size(); i++){
| ~~^~~~~~~~~~