Problem combo
User shoryu386
Submission Time 2023-05-07 01:41:41
Score 0
Max Time N/A
Max Memory N/A

Compile Error

combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:67:4: error: expected ‘}’ before ‘else’
67 | else got = 1;
| ^~~~
combo.cpp:64:42: note: to match this ‘{’
64 | if (bruhcount != 3 && !bruh[3] && !got){
| ^
combo.cpp:70:8: error: ‘bruh’ was not declared in this scope
70 | if (!bruh[0]) found.push_back('A');
| ^~~~
combo.cpp: At global scope:
combo.cpp:76:2: error: expected unqualified-id before ‘return’
76 | return found;
| ^~~~~~
combo.cpp:77:1: error: expected declaration before ‘}’ token
77 | }
| ^