Problem | brick |
---|---|
User | TheAccomplice |
Submission Time | 2024-05-04 11:14:07 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
brick.cpp: In function ‘int main()’:
brick.cpp:16:21: error: invalid operands of types ‘<unresolved overloaded function type>’ and ‘long long int’ to binary ‘operator>=’
16 | if (myDeque.back >= a){
| ~~~~~~~~~~~~ ^~ ~
| | |
| | long long int
| <unresolved overloaded function type>
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;
| ^~~~