combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:6:19: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
6 | while(S.length()<N){
| ~~~~~~~~~~^~
combo.cpp:7:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
7 | if(press(S+'A')==S.length()+1){S+='A';continue;}
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:8:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
8 | if(press(S+'B')==S.length()+1){S+='B';continue;}
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:9:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
9 | if(press(S+'X')==S.length()+1){S+='X';continue;}
| ~~~~~~~~~~~~^~~~~~~~~~~~~~
combo.cpp:10:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
10 | if(press(S+'Y')==S.length()+1){S+='Y';continue;}
| ~~~~~~~~~~~~^~~~~~~~~~~~~~