combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:50:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
50 | if (coins == head.size()+2) head += a;
| ~~~~~~^~~~~~~~~~~~~~~~
combo.cpp:51:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | else if (coins == head.size()+1) head += b;
| ~~~~~~^~~~~~~~~~~~~~~~
combo.cpp:52:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | else if (coins == head.size()) head += c;
| ~~~~~~^~~~~~~~~~~~~~
combo.cpp:60:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | if (press(str) == head.size()){
| ~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:64:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | if (press(str) == head.size()) head += b;
| ~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:46:21: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
46 | str += head + a + c;
| ^
combo.cpp:45:21: warning: 'b' may be used uninitialized in this function [-Wmaybe-uninitialized]
45 | str += head + a + b;
| ^