combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:30:35: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if (press(s + opt[0]) > s.size())
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp:32:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
32 | else if (press(s + opt[1]) > s.size())
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~
combo.cpp:44:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | if (p == s.size()) {
| ~~^~~~~~~~~~~
combo.cpp:47:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | else if (p == s.size() + 1) {
| ~~^~~~~~~~~~~~~~~