Problem bracketex
User CJZ
Submission Time 2026-04-18 10:04:09
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:14:26: error: cannot convert ‘std::stack<char>::empty’ from type ‘bool (std::stack<char>::)() const’ to type ‘bool’
14 | if (lst.empty) {
| ^
bracketex.cpp:20:26: error: expected ‘;’ before ‘}’ token
20 | lst.pop()
| ^
| ;
21 | }
| ~