Problem brick
User TheAccomplice
Submission Time 2024-05-04 11:14:59
Score 0
Max Time N/A
Max Memory N/A

Compile Error

brick.cpp: In function ‘int main()’:
brick.cpp:19:26: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘long long int’ to binary ‘operator<’
19 | else if (myDeque.back < a){
| ~~~~~~~~~~~~ ^ ~
| | |
| | long long int
| <unresolved overloaded function type>
brick.cpp:27:11: error: ‘elem’ was not declared in this scope
27 | cout << elem << endl;
| ^~~~