Problem | combo |
---|---|
User | shoryu386 |
Submission Time | 2023-05-07 01:25:21 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
combo.cpp:6:1: error: expected initializer before ‘int’
6 | int press2(string s){
| ^~~
combo.cpp: In function ‘std::string guess_sequence(int)’:
combo.cpp:16:15: error: ‘found’ was not declared in this scope; did you mean ‘round’?
16 | if (ca == 1) found = "A";
| ^~~~~
| round
combo.cpp:17:20: error: ‘found’ was not declared in this scope; did you mean ‘round’?
17 | else if (cb == 1) found = "B";
| ^~~~~
| round
combo.cpp:18:20: error: ‘found’ was not declared in this scope; did you mean ‘round’?
18 | else if (cx == 1) found = "X";
| ^~~~~
| round
combo.cpp:19:7: error: ‘found’ was not declared in this scope; did you mean ‘round’?
19 | else found = "Y";
| ^~~~~
| round
combo.cpp:21:12: error: ‘found’ was not declared in this scope; did you