combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:8:18: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
8 | while (p.size()!=N) {
| ~~~~~~~~^~~
combo.cpp:11:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
11 | if (press(pA) == p.size() + 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:17:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
17 | if (press(pB) == p.size() + 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:23:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
23 | if (press(pX) == p.size() + 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:29:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
29 | if (press(pY) == p.size() + 1) {
| ~~~~~~~~~~^~~~~~~~~~~~~~~