| Problem | mindeque |
|---|---|
| User | Biologyhater123 |
| Submission Time | 2025-06-13 16:28:25 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
mindeque.cpp: In function ‘int32_t main()’:
mindeque.cpp:31:26: error: cannot convert ‘std::stack<long long int>::empty’ from type ‘bool (std::stack<long long int>::)() const’ to type ‘bool’
31 | if (!mib.empty and !dq.empty() and mib.top() == dq.back()){
| ^~~~~
mindeque.cpp:31:26: error: in argument to unary !
mindeque.cpp:37:26: error: cannot convert ‘std::stack<long long int>::empty’ from type ‘bool (std::stack<long long int>::)() const’ to type ‘bool’
37 | if (!mif.empty and !dq.empty() and mif.top() == dq.front()){
| ^~~~~
mindeque.cpp:37:26: error: in argument to unary !