combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:37:25: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
37 | if(press(S + c) == S.size() + 1) {
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:61:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
61 | if(k == S.size() + 2) {
| ~~^~~~~~~~~~~~~~~
combo.cpp:64:12: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
64 | if(k == S.size() + 1) {
| ~~^~~~~~~~~~~~~~~
combo.cpp:66:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
66 | if(inow2 == temp.size() - 1) {
| ~~~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:74:16: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
74 | if(inow1 == temp.size() - 1) {
| ~~~~~~^~~~~~~~~~~~~~~~~~
combo.cpp:49:10: warning: variable 'ok1' set but not used [-Wunused-but-set-variable]
49 | bool ok1 = 0;
| ^~~
combo.cpp:50:10: warning: unused variable 'ok2' [-Wunused-variable]
50 | bool ok2 = 0;
| ^~~