| Problem | bracketex |
|---|---|
| User | GYEE26 |
| Submission Time | 2024-07-06 21:14:49 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketex.cpp:23:21: error: stray ‘\’ in program
23 | cout << s.top() <<\n;
| ^
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:22:13: error: cannot convert ‘std::stack<int>::empty’ from type ‘bool (std::stack<int>::)() const’ to type ‘bool’
22 | while (!s. empty) {
| ^~~~~
bracketex.cpp:22:13: error: in argument to unary !
bracketex.cpp:23:22: error: ‘n’ was not declared in this scope
23 | cout << s.top() <<\n;
| ^