combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:26:9: error: 'press' was not declared in this scope
26 | if (press("AB") > 0) first = "BA"[press("A")];
| ^~~~~
combo.cpp:33:49: error: 'press' was not declared in this scope
33 | for (int i = 1; i < n - 1; i++) ans += comb[press(ans + c2 + ans + c3 + c1 + ans + c3 + c2 + ans + c3 + c3) - i];
| ^~~~~
combo.cpp:34:9: error: 'press' was not declared in this scope
34 | if (press(ans + c1) == n) return ans + c1;
| ^~~~~
combo.cpp:37:1: warning: control reaches end of non-void function [-Wreturn-type]
37 | }
| ^