combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:57:22: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
57 | if (press(str + a) == str.size() + 1) str += a;
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:58:27: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
58 | else if (press(str + b) == str.size() + 1) str += b;
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:66:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
66 | if (str.size() != n) press("F");
| ~~~~~~~~~~~^~~~