combo.cpp:7:21: error: 'string' does not name a type; did you mean 'stdin'?
7 | int guess_one(const string& s) {
| ^~~~~~
| stdin
combo.cpp: In function 'int guess_one(const int&)':
combo.cpp:8:23: error: 'LET' was not declared in this scope
8 | int len = press(s + LET[0] + s + LET[1]);
| ^~~
combo.cpp:9:24: error: request for member 'length' in 's', which is of non-class type 'const int'
9 | int idx = 2*(len < s.length()+1);
| ^~~~~~
combo.cpp:11:19: error: request for member 'length' in 's', which is of non-class type 'const int'
11 | idx += (len < s.length()+1);
| ^~~~~~
combo.cpp: At global scope:
combo.cpp:15:1: error: 'string' does not name a type; did you mean 'stdin'?
15 | string guess_sequence(int N) {
| ^~~~~~
| stdin