/in/foo.cc: In function 'bool cmp1(node, node)':
/in/foo.cc:10:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
10 | for (int i = 0; i < min(l.y.size(), r.y.size()); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'bool cmp2(node, node)':
/in/foo.cc:17:27: warning: comparison of integer expressions of different signedness: 'int' and 'const long unsigned int' [-Wsign-compare]
17 | for (int i = 0; i < min(l.y.size(), r.y.size()); i++)
| ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:28:19: warning: array subscript has type 'char' [-Wchar-subscripts]
28 | a[x] = 'a' + i;
| ^
/in/foo.cc:36:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
36 | for (int j = 0; j < b[i].y.size(); j++)
| ~~^~~~~~~~~~~~~~~
/in/foo.cc:37:48: warning: array subscript has type 'char' [-Wchar-subscripts]
37 | b[i].y[j] = a[b[i].y[j]];
| ^