combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:16:16: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
16 | while(p.size()!=N-1) {
| ~~~~~~~~^~~~~
combo.cpp:18:16: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
18 | if(p.size()+1==coins) p+=c[0];
| ~~~~~~~~~~^~~~~~~
combo.cpp:19:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
19 | else if(p.size()+2==coins) p+=c[1];
| ~~~~~~~~~~^~~~~~~
combo.cpp:22:13: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
22 | if(p.size()!=press(p+c[0])) p+=c[0];
| ~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:23:18: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
23 | else if(p.size()!=press(p+c[1])) p+=c[1];
| ~~~~~~~~^~~~~~~~~~~~~~~