Problem bracketex
User Kannan
Submission Time 2024-02-23 17:57:56
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:18:12: error: ‘b’ has not been declared
18 | set<char> b::iterator it;
| ^
bracketex.cpp:18:24: error: qualified-id in declaration before ‘it’
18 | set<char> b::iterator it;
| ^~
bracketex.cpp:20:3: error: ‘b’ was not declared in this scope
20 | b.insert(b);
| ^
bracketex.cpp:22:6: error: ‘it’ was not declared in this scope; did you mean ‘int’?
22 | for(it = b.begin(); it != b.end(); it++) {
| ^~
| int
bracketex.cpp:22:11: error: ‘b’ was not declared in this scope
22 | for(it = b.begin(); it != b.end(); it++) {
| ^