Problem | bracketex |
---|---|
User | thelusidian |
Submission Time | 2024-04-24 17:46:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
bracketex.cpp:24:10: error: missing terminating " character
24 | ans = "Invalid;
| ^~~~~~~~~
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:10:14: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
10 | if (val == "{"){
| ^~~
bracketex.cpp:12:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
12 | } else if (val == "}"){
| ^~~
bracketex.cpp:14:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
14 | } else if (val == "["){
| ^~~
bracketex.cpp:16:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
16 | } else if (val == "]"){
| ^~~
bracketex.cpp:18:21: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
18 | } else if (val == "("){
|