Problem | bracketex |
---|---|
User | AustinPi |
Submission Time | 2024-05-11 11:18:24 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:13:10: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (b=="(" || b=="{" || b=="{") {
| ^~~
bracketex.cpp:13:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (b=="(" || b=="{" || b=="{") {
| ^~~
bracketex.cpp:13:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
13 | if (b=="(" || b=="{" || b=="{") {
| ^~~
bracketex.cpp:16:18: error: expected ‘;’ before ‘}’ token
16 | inp.pop_back()
| ^
| ;
17 | } else {
| ~