Problem brick
User mth4z
Submission Time 2023-08-26 00:27:51
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:18:13: error: cannot convert ‘std::stack<int>::empty’ from type ‘bool (std::stack<int>::)() const’ to type ‘bool’
18 | while (!stk.empty) {
| ^~~~~
brick.cpp:18:13: error: in argument to unary !