Problem | bracketex |
---|---|
User | Ush |
Submission Time | 2023-11-08 14:59:50 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:15:47: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘char’ to binary ‘operator==’
15 | } else if ( x == ')' && !s.empty() && s.top == '(') {
| ~~~~~ ^~ ~~~
| | |
| | char
| <unresolved overloaded function type>
bracketex.cpp:17:48: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘char’ to binary ‘operator==’
17 | } else if ( x == ']' && !s.empty() && s.top == '[') {
| ~~~~~ ^~ ~~~
| | |
| | char
| <unreso