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