combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:29:21: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
29 | while (s.size() < n) {
| ~~~~~~~~~^~~
combo.cpp:43:26: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (press(p) == p.size()) {
| ~~~~~~~~~^~~~~~~~~~~
combo.cpp:47:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | else if (press(p) == p.size() - 1) {
| ~~~~~~~~~^~~~~~~~~~~~~~~
combo.cpp:33:17: warning: 'j' may be used uninitialized in this function [-Wmaybe-uninitialized]
33 | if (i != j) {
| ^~