combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:28:8: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(b == a.size()+c.size()) e = d+h, d = d+g, c = c+h;
| ~~^~~~~~~~~~~~~~~~~~~~
combo.cpp:29:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | else if(b == a.size()+c.size()+1) e = d+f, d = c+g, c = c+f;
| ~~^~~~~~~~~~~~~~~~~~~~~~
combo.cpp:32:14: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
32 | if(a.size() == n) return a;
| ~~~~~~~~~^~~~
combo.cpp:6:23: warning: variable 'x' set but not used [-Wunused-but-set-variable]
6 | int b = press("AB"), x;
| ^