| Problem | leftright | 
|---|---|
| User | c00dingstudygolden | 
| Submission Time | 2024-07-06 22:48:05 | 
| Score | 0 | 
| Max Time | N/A | 
| Max Memory | N/A | 
Owl Get a Life
 leftright.cpp: In function ‘std::deque<long long int> rotate(std::deque<long long int>*, long long int)’:
leftright.cpp:8:16: error: request for member ‘back’ in ‘a’, which is of pointer type ‘std::deque<long long int>*’ (maybe you meant to use ‘->’ ?)
    8 |         j = *a.back();
      |                ^~~~
leftright.cpp:9:12: error: request for member ‘pop_back’ in ‘a’, which is of pointer type ‘std::deque<long long int>*’ (maybe you meant to use ‘->’ ?)
    9 |         *a.pop_back();
      |            ^~~~~~~~
leftright.cpp:10:12: error: request for member ‘push_front’ in ‘a’, which is of pointer type ‘std::deque<long long int>*’ (maybe you meant to use ‘->’ ?)
   10 |         *a.push_front(j);
      |            ^~~~~~~~~~
leftright.cpp:12:12: error: could not convert ‘a’ from ‘std::deque<long long int>*’ to ‘std::deque<long long int>’
   12 |     return a;
      |            ^
      |