Problem bracketstack
User Karax
Submission Time 2025-11-18 11:02:45
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketstack.cpp: In function ‘int main()’:
bracketstack.cpp:31:22: error: ‘st’ was not declared in this scope; did you mean ‘sta’?
31 | if (!st.empty() && sta.top() == '(') {
| ^~
| sta