| Problem | bracketex |
|---|---|
| User | XY3491 |
| Submission Time | 2026-04-18 10:10:21 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
bracketex.cpp: In function ‘int main()’:
bracketex.cpp:15:12: error: no match for ‘operator[]’ (operand types are ‘std::stack<int>’ and ‘int’)
15 | a.push(a[i]);
| ^
bracketex.cpp:19:8: error: no match for ‘operator[]’ (operand types are ‘std::stack<int>’ and ‘int’)
19 | if(a[i]==a.top())
| ^