Problem | mindeque |
---|---|
User | CKCodeBreaker55 |
Submission Time | 2024-12-14 09:52:14 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
mindeque.cpp: In function ‘int main()’:
mindeque.cpp:19:6: error: request for member ‘push_back’ in ‘d’, which is of non-class type ‘long long int [Q]’
19 | d.push_back(x);
| ^~~~~~~~~
mindeque.cpp:23:6: error: request for member ‘pop_back’ in ‘d’, which is of non-class type ‘long long int [Q]’
23 | d.pop_back();
| ^~~~~~~~
mindeque.cpp:28:6: error: request for member ‘push_front’ in ‘d’, which is of non-class type ‘long long int [Q]’
28 | d.push_front(x);
| ^~~~~~~~~~
mindeque.cpp:32:6: error: request for member ‘pop_front’ in ‘d’, which is of non-class type ‘long long int [Q]’
32 | d.pop_front();
| ^~~~~~~~~
mindeque.cpp:36:27: error: request for member ‘begin’ in ‘d’, which is of non-class type ‘long long int [Q]’
36 | cout << *min_element(d.begin(), d.end()) << "\n";
| ^~~~~
mindeque.cpp:36:38: error: request for membe