| Problem | bracketex |
|---|---|
| User | AaravRastogi |
| Submission Time | 2025-12-11 20:49:35 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:16:15: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = char; _Alloc = std::allocator<char>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
16 | if (A.size > 0 ){char y = A.back(); A.pop_back();}
| ~~^~~~
| ()
bracketex.cpp:19:25: error: ‘y’ was not declared in this scope
19 | if (x == ')' && y == '('){continue;}
| ^