Problem bracketex
User GYEE26
Submission Time 2024-07-06 21:15:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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