combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:24:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(res==S.length())S+=v[2];
| ~~~^~~~~~~~~~~~
combo.cpp:25:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | else if(res==S.length()+1)S+=v[1];
| ~~~^~~~~~~~~~~~~~
combo.cpp:30:24: 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+"A"+S+"B")==S.length()+1){
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:31:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | if(press(S+"A")==S.length()+1)S+="A";
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:35:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if(press(S+"X")==S.length()+1)S+="X";
| ~~~~~~~~~~~~^~~~~~~~~~~~~~