printer.cpp: In function 'int diff(std::string, std::string)':
printer.cpp:11:15: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
11 | for(i=0; i<min(s1.size(), s2.size()); i++) if(s1[i] != s2[i]) return i;
| ~^~~~~~~~~~~~~~~~~~~~~~~~~~
printer.cpp: In function 'int main()':
printer.cpp:36:33: error: expected ';' before '\U00000e27'
36 | dif = diff(s[i-1], s[i])ว
| ^
| ;
printer.cpp:37:34: error: 'j' was not declared in this scope
37 | for(int j=s[i-1].size(); j>dif; j--) cout << "-\n";
| ^
printer.cpp:38:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | for(int j=dif; j<s[i].size(); j++) cout << s[i][j] << "\n";
| ~^~~~~~~~~~~~