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