Problem | brick |
---|---|
User | Hiya123 |
Submission Time | 2024-08-05 07:12:42 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:19:14: error: cannot convert ‘std::deque<int>::empty’ from type ‘bool (std::deque<int>::)() const noexcept’ to type ‘bool’
19 | while (!dq.empty && dq.back <= X){
| ^~~~~
brick.cpp:19:14: error: in argument to unary !
brick.cpp:19:31: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘int’ to binary ‘operator<=’
19 | while (!dq.empty && dq.back <= X){
| ~~~~~~~ ^~ ~
| | |
| | int
| <unresolved overloaded function type>