Problem playlist2
User jamallikestocode
Submission Time 2026-08-17 16:54:43
Score 0
Max Time N/A
Max Memory N/A

Compile Error

playlist2.cpp: In function ‘int main()’:
playlist2.cpp:26:45: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
26 | } else if (type == "Pop" && skibidi.size != 0) {
| ~~~~~~~~^~~~
| ()
playlist2.cpp:28:46: error: invalid use of member function ‘std::deque<_Tp, _Alloc>::size_type std::deque<_Tp, _Alloc>::size() const [with _Tp = long long int; _Alloc = std::allocator<long long int>; std::deque<_Tp, _Alloc>::size_type = long unsigned int]’ (did you forget the ‘()’ ?)
28 | } else if (type == "Play" && skibidi.size != 0) {
| ~~~~~~~~^~~~
|