combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:62:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
62 | while (ans.length() < N - 1)
| ~~~~~~~~~~~~~^~~~~~~
combo.cpp:70:9: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
70 | if (p == ans.length() + 2)
| ~~^~~~~~~~~~~~~~~~~~~
combo.cpp:72:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
72 | else if(p==ans.length()+1)
| ~^~~~~~~~~~~~~~~~
combo.cpp:80:22: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
80 | while (ans.length() < N)
| ~~~~~~~~~~~~~^~~
combo.cpp:82:38: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
82 | if (press(ans + s[1] + ans + s[2]) == ans.length() + 1)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
combo.cpp:84:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
84 | if (press(ans + s[1]) == ans.length() + 1)
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~