Problem brick
User shaokai347
Submission Time 2026-02-05 21:07:08
Score 0
Max Time N/A
Max Memory N/A

Compile Error

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