combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:51:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
51 | if (res1 == 0 + pref.length()){
| ~~~~~^~~~~~~~~~~~~~~~~~~~
combo.cpp:55:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
55 | if (res1 == 1 + pref.length()) second_query = pref + mp[3];
| ~~~~~^~~~~~~~~~~~~~~~~~~~
combo.cpp:58:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | if (res2 == 0 + pref.length()){
| ~~~~~^~~~~~~~~~~~~~~~~~~~
combo.cpp:60:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
60 | }else if (res2 == 1 + pref.length()){
| ~~~~~^~~~~~~~~~~~~~~~~~~~
combo.cpp:69:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
69 | if (press(pref + "AB") > pref.length()){
| ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:70:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | if (press(pref + "A") > pref.length()){
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:76:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
76 | if (press(pref + "X") > pref.length()){
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~