| Problem | bracketex |
|---|---|
| User | CJZ |
| Submission Time | 2026-04-18 10:01:36 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int32_t main()’:
bracketex.cpp:11:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if (c == "(" or c == "{" or c == "[") {
| ^~~
bracketex.cpp:11:30: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if (c == "(" or c == "{" or c == "[") {
| ^~~
bracketex.cpp:11:42: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
11 | if (c == "(" or c == "{" or c == "[") {
| ^~~
bracketex.cpp:14:26: error: cannot convert ‘std::stack<char>::empty’ from type ‘bool (std::stack<char>::)() const’ to type ‘bool’
14 | if (lst.empty) {
| ^
bracketex.cpp:19:22: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
19 |