Problem bracketex
User Haocheng
Submission Time 2024-11-08 15:40:03
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:19:42: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘char’ to binary ‘operator==’
19 | } else if (x=='}'&& !s.empty() && s.top=='{'){
| ~~~~~^~~~~
| | |
| | char
| <unresolved overloaded function type>