Problem brick
User Aum
Submission Time 2024-03-26 21:56:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int32_t main()’:
brick.cpp:17:14: error: cannot convert ‘std::stack<long long int>::empty’ from type ‘bool (std::stack<long long int>::)() const’ to type ‘bool’
17 | if(!stack.empty){
| ^~~~~
brick.cpp:17:14: error: in argument to unary !