Problem card
User yhmixeI
Submission Time 2025-01-20 14:36:02
Score 0
Max Time N/A
Max Memory N/A

Compile Error

card.cpp: In function ‘int main()’:
card.cpp:6:13: error: invalid use of non-static member function ‘void std::deque<_Tp, _Alloc>::pop_front() [with _Tp = long long int; _Alloc = std::allocator<long long int>]’
6 | #define pof pop_front
| ^
card.cpp:26:5: note: in expansion of macro ‘pof’
26 | a.pof;
| ^~~
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from card.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1605:7: note: declared here
1605 | pop_front() _GLIBCXX_NOEXCEPT
| ^~~~~~~~~
card.cpp:6:13: error: invalid use of non-static member function ‘void std::deque<_Tp, _Alloc>::pop_front() [with _Tp = long long int; _Alloc = std::allocator<long long int>]’
6 | #define pof pop_front
| ^
card.cpp:27:5: note: in expansion of macro ‘pof’
27 | a