combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:11:9: error: 'press' was not declared in this scope
11 | if (press("ab")){
| ^~~~~
combo.cpp:20:23: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
20 | while (sol.size() < N){
| ~~~~~~~~~~~^~~
combo.cpp:21:28: warning: comparison of integer expressions of different signedness: 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
21 | if (sol.size() + 1 == N){
| ~~~~~~~~~~~~~~~^~~~
combo.cpp:26:17: error: 'press' was not declared in this scope
26 | if (press(t) == N){
| ^~~~~
combo.cpp:46:21: error: 'press' was not declared in this scope
46 | int x = press(t);
| ^~~~~
combo.cpp:47:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
47 | if (x == sol.size())sol += c[2];
| ~~^~~~~~~~~~~~~
combo.cpp:48:24: warning: comparison of integer expressions of different signedness: 'int' and 'std::__cxx11::basic_string<char>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
48 | else if (x == sol.size()+1)sol += c[1];
| ~~^~~~~~~~~~~~~~~