Problem brick
User wtnetlegend
Submission Time 2025-02-08 00:17:14
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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