combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:9:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
9 | while(cur.size()<n)
| ~~~~~~~~~~^~
combo.cpp:11:29: 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(cur+'A') == cur.size()+1 )
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:16:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
16 | if ( press(cur+'B') == cur.size()+1 )
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:21:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
21 | if ( press(cur+'X') == cur.size()+1 )
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:26:29: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
26 | if ( press(cur+'Y') == cur.size()+1 )
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~