Problem bracketex
User Hansjuaraosn
Submission Time 2024-10-05 23:30:38
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:25:11: error: invalid use of member function ‘std::stack<_Tp, _Sequence>::size_type std::stack<_Tp, _Sequence>::size() const [with _Tp = char; _Sequence = std::deque<char, std::allocator<char> >; std::stack<_Tp, _Sequence>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
25 | if(st.size == 0){
| ~~~^~~~
| ()