combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:30:17: 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 (res == ans.size() + 2) ans += B[0];
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:31:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | else if (res == ans.size() + 1) ans += B[1];
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:37:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if (res == ans.size() + 1) ans += B[0];
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:39:40: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
39 | ans += ((press(ans + B[1]) == ans.size() + 1)? B[1]: B[2]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~