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

Compile Error

combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:23:1: error: expected ‘,’ or ‘;’ before ‘if’
23 | if (coins == i+2) S += others[0];
| ^~
combo.cpp:24:1: error: ‘else’ without a previous ‘if’
24 | else if (coins == i+1) S += others[1];
| ^~~~