Problem combo
User jpyhzzz
Submission Time 2026-06-02 18:37:13
Score 0
Max Time N/A
Max Memory N/A

Compile Error

combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:7:5: error: ‘press’ was not declared in this scope
7 | if (press("AB") > 0) {
| ^~~~~
combo.cpp:21:13: error: ‘press’ was not declared in this scope
21 | int coins = press(guess)
| ^~~~~
combo.cpp:23:1: error: ‘else’ without a previous ‘if’
23 | else if (coins == i+1) S += others[1];
| ^~~~
combo.cpp:27:5: error: ‘press’ was not declared in this scope
27 | if (press(guess) == N) {
| ^~~~~