Problem brick
User baobaocar
Submission Time 2023-02-18 11:16:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:26:18: error: no match for ‘operator[]’ (operand types are ‘std::stack<int>’ and ‘long int’)
26 | cout << S[i] << '\n';
| ^