Problem guanine
User ilovepythonandhatecplusplus
Submission Time 2024-10-23 17:07:18
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:14:19: error: request for member ‘push_back’ in ‘arr’, which is of non-class type ‘std::deque<long long int>()’
14 | arr.push_back(num[9]);
| ^~~~~~~~~
guanine.cpp:18:19: error: request for member ‘push_front’ in ‘arr’, which is of non-class type ‘std::deque<long long int>()’
18 | arr.push_front(num[10]);
| ^~~~~~~~~~
guanine.cpp:26:23: error: request for member ‘pop_back’ in ‘arr’, which is of non-class type ‘std::deque<long long int>()’
26 | arr.pop_back();
| ^~~~~~~~
guanine.cpp:32:23: error: request for member ‘pop_front’ in ‘arr’, which is of non-class type ‘std::deque<long long int>()’
32 | arr.pop_front();
| ^~~~~~~~~