Problem bracketex
User XY3491
Submission Time 2026-04-18 10:11:19
Score 0
Max Time N/A
Max Memory N/A

Compile Error

bracketex.cpp: In function ‘int main()’:
bracketex.cpp:20:8: error: no match for ‘operator[]’ (operand types are ‘std::stack<int>’ and ‘int’)
20 | if(a[i]==a.top())
| ^