combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:36:14: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
36 | while (s.sz < N-1) {
| ~~~~~^~~~~
combo.cpp:42:10: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
42 | if (jp == s.sz) {
| ^
combo.cpp:45:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
45 | else if (jp == s.sz + 1) {
| ~~~^~~~~~~~~~~
combo.cpp:52:23: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
52 | if (press(s + q[0]) == s.sz + 1) s += q[0];
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~
combo.cpp:53:28: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
53 | else if (press(s + q[1]) == s.sz + 1) s += q[1];
| ~~~~~~~~~~~~~~~~^~~~~~~~~~~