combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:16:20: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
16 | while(S.size() < n) {
| ~~~~~~~~~^~~
combo.cpp:17:37: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if(x != 0 && press(S + "A") == S.size() + 1)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:19:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | else if(x != 1 && press(S + "B") == S.size() + 1)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:21:42: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | else if(x != 2 && press(S + "X") == S.size() + 1)
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~