combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:23:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | if(tmp == ans.length()) ans += s[2];
| ~~~~^~~~~~~~~~~~~~~
combo.cpp:24:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | else if(tmp == ans.length() + 1) ans += s[1];
| ~~~~^~~~~~~~~~~~~~~~~~~
combo.cpp:28:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if(press(ans + "A" +ans + "B") == ans.length() + 1){
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
combo.cpp:29:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if(press(ans + "A") == ans.length() + 1) ans += "A";
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
combo.cpp:33:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(press(ans + "X") == ans.length() + 1) ans += "X";
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~