| Problem | catfight |
|---|---|
| User | ayreentazz |
| Submission Time | 2026-05-16 11:13:14 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
catfight.cpp: In function ‘int32_t main()’:
catfight.cpp:9:16: error: ‘p’ was not declared in this scope
9 | int n;cin>>n>>p;
| ^
catfight.cpp:18:6: 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>]’
18 | dq.pop_front;
| ~~~^~~~~~~~~
In file included from /usr/include/c++/9/deque:67,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:68,
from catfight.cpp:1:
/usr/include/c++/9/bits/stl_deque.h:1605:7: note: declared here
1605 | pop_front() _GLIBCXX_NOEXCEPT
| ^~~~~~~~~