combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:26:9: 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 (x == s.length() + 1) nxt = (f + 1) % 4;
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:27:14: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
27 | else if (x == s.length() + 2) nxt = (f + 2) % 4;
| ~~^~~~~~~~~~~~~~~~~
combo.cpp:33:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
33 | if(press(s + "A") == s.length() + 1 ) return s + "A";
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:34:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
34 | if(press(s + "B") == s.length() + 1 ) return s + "B";
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~
combo.cpp:35:20: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
35 | if(press(s + "X") == s.length() + 1 ) return s + "X";
| ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~