Problem bracketex
User Whatturtle
Submission Time 2024-06-26 17:02:40
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:25:15: error: cannot convert ‘std::stack<char>::empty’ from type ‘bool (std::stack<char>::)() const’ to type ‘bool’
25 | if (!stack.empty){
| ^~~~~
bracketex.cpp:25:15: error: in argument to unary !