combo.cpp: In function 'std::string guess_sequence(int)':
combo.cpp:26:3: error: 'set' was not declared in this scope
26 | set<char> ap ={'A','B','X','Y'};
| ^~~
combo.cpp:2:1: note: 'std::set' is defined in header '<set>'; did you forget to '#include <set>'?
1 | #include "combo.h"
+++ |+#include <set>
2 | using namespace std;
combo.cpp:26:7: error: expected primary-expression before 'char'
26 | set<char> ap ={'A','B','X','Y'};
| ^~~~
combo.cpp:27:3: error: 'ap' was not declared in this scope
27 | ap.erase(s[0]);
| ^~
combo.cpp:28:3: error: 'vector' was not declared in this scope
28 | vector<char> pos(all(ap));
| ^~~~~~
combo.cpp:2:1: note: 'std::vector' is defined in header '<vector>'; did you forget to '#include <vector>'?
1 | #include "combo.h"
+++ |+#include <vector>
2 | using namespace std;
combo.cpp:28:10: error: expected primary-expression before 'char'
28 | vector<char> pos(all(ap));
| ^~~~
combo.cpp:31:17: error: 'pos' was not declared in this scope
31 | string qs=s+pos[0]+s+pos[1]+pos[0]+s+pos[1]+pos[1]+s+pos[1]+pos[2];
| ^~~
combo.cpp:46:14: error: 'pos' was not declared in this scope
46 | if(press(s+pos[0])==s.size()+1)
| ^~~