| Problem | bracketstack |
|---|---|
| User | R9q5P8 |
| Submission Time | 2025-11-18 10:37:10 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketstack.cpp: In function ‘int main()’:
bracketstack.cpp:20:13: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
20 | if (p == "(")
| ^~~
bracketstack.cpp:28:37: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
28 | if (bracket[bracket.size()-1] == "(")
| ^~~