combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:25:25: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
25 | while (ans.size() + 1 < N) {
| ~~~~~~~~~~~~~~~^~~
combo.cpp:27:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | if (res == ans.size()) {
| ~~~~^~~~~~~~~~~~~
combo.cpp:29:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | } else if (res == ans.size() + 1) {
| ~~~~^~~~~~~~~~~~~~~~~
combo.cpp:35:18: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
35 | if (ans.size() != N) {
| ~~~~~~~~~~~^~~~
combo.cpp:36:27: 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 (press(ans + t[0]) > ans.size()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~
combo.cpp:38:34: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
38 | } else if (press(ans + t[1]) > ans.size()) {
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~