Problem bracketex
User Ush
Submission Time 2023-11-08 15:44:00
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:21:63: error: expected ‘;’ before ‘{’ token
21 | } else (( x == ')' || x == ']' || x == '}') && s.empty ()) {
| ^~
| ;
bracketex.cpp:29:2: error: expected ‘}’ at end of input
29 | }
| ^
bracketex.cpp:4:16: note: to match this ‘{’
4 | int32_t main() {
| ^