combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:42:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if(ans == pref.size() + 1) pref.push_back(c[1]);
| ~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:44:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | else if(ans == pref.size() + 2) pref.push_back(c[2]);
| ~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:55:21: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if(press(aux) == pref.size() + 1)
| ~~~~~~~~~~~^~~~~~~~~~~~~~~~~~