combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:28:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
28 | if (len == ans.size() + 1) {
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:30:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | } else if (len == ans.size() + 2) {
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:40:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
40 | if (press(ans + pos[0]) == ans.size() + 1)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:42:32: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | else if (press(ans + pos[1]) == ans.size() + 1)
| ~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~