combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:11:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if (press(p) > S.size()) {
| ~~~~~~~~~^~~~~~~~~~
combo.cpp:14:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
14 | if (press(p) > S.size()) S.push_back('A');
| ~~~~~~~~~^~~~~~~~~~
combo.cpp:19:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | if (press(p) > S.size()) S.push_back('X');
| ~~~~~~~~~^~~~~~~~~~