Problem bracketex
User Hengweezy
Submission Time 2024-02-01 19:55:05
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:32:3: error: ‘else’ without a previous ‘if’
32 | else{
| ^~~~
bracketex.cpp:33:11: error: ‘value’ was not declared in this scope
33 | b.push(value);
| ^~~~~
bracketex.cpp: At global scope:
bracketex.cpp:36:2: error: ‘cout’ does not name a type
36 | cout << b.empty();
| ^~~~
bracketex.cpp:38:1: error: expected declaration before ‘}’ token
38 | }
| ^