combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:13:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
13 | if(query == p.size()){
| ~~~~~~^~~~~~~~~~~
combo.cpp:16:17: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | else if(query == p.size() + 1){
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:18:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
18 | if(query == p.size()) p = p + chr[0] + chr[2];
| ~~~~~~^~~~~~~~~~~
combo.cpp:19:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | else if(query == p.size() + 1) p = p + chr[1] + chr[1];
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:24:13: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
24 | if(query == p.size()) p = p + chr[1] + chr[0];
| ~~~~~~^~~~~~~~~~~
combo.cpp:25:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
25 | else if(query == p.size() + 1) p = p + chr[0] + chr[0];
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:29:17: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | while(p.size() != N){
| ~~~~~~~~~^~~~
combo.cpp:30:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
30 | if(press(p + chr[0]) == p.size() + 1) p.push_back(chr[0]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:31:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
31 | else if(press(p + chr[1]) == p.size() + 1) p.push_back(chr[1]);
| ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~