combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:43:19: warning: comparison of integer expressions of different signedness: 'lli' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
43 | if (guess == s.size() + 2) s += cs[0];
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:44:24: warning: comparison of integer expressions of different signedness: 'lli' {aka 'long long int'} and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
44 | else if (guess == s.size() + 1) s += cs[1];
| ~~~~~~^~~~~~~~~~~~~~~
combo.cpp:21:10: warning: unused variable 'start' [-Wunused-variable]
21 | char start;
| ^~~~~
combo.cpp:47:23: warning: 'cs[0]' may be used uninitialized in this function [-Wmaybe-uninitialized]
47 | if (press(s + cs[0]) == N) return s + cs[0];
| ^
combo.cpp:49:28: warning: 'cs[2]' may be used uninitialized in this function [-Wmaybe-uninitialized]
49 | else if (press(s + cs[2]) == N) return s + cs[2];
| ^
combo.cpp:48:28: warning: 'cs[1]' may be used uninitialized in this function [-Wmaybe-uninitialized]
48 | else if (press(s + cs[1]) == N) return s + cs[1];
| ^