combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:6:61: error: expected '}' before ')' token
6 | vector<pair<int,char>>x({{0,'A'},{0,'B'},{0,'X'},{0,'Y'});
| ~ ^
combo.cpp:11:20: error: cannot convert 'std::pair<int, char>' to 'char' in initialization
11 | for(char j:x){
| ^
combo.cpp:12:18: error: request for member 'second' in 'j', which is of non-class type 'char'
12 | s+=j.second;
| ^~~~~~
combo.cpp:28:20: error: cannot convert 'std::pair<int, char>' to 'char' in initialization
28 | for(char j:x){
| ^
combo.cpp:29:17: error: request for member 'second' in 'j', which is of non-class type 'char'
29 | s=j.second+s;
| ^~~~~~