Problem parallelogramisation
User AwkUngenially
Submission Time 2026-11-06 14:33:52
Score 0
Max Time N/A
Max Memory N/A

Compile Error

parallelogramisation.cpp: In function ‘int main()’:
parallelogramisation.cpp:17:18: error: no matching function for call to ‘std::queue<long long int>::pop(__gnu_cxx::__alloc_traits<std::allocator<long long int>, long long int>::value_type&)’
17 | Y.pop(Y.back());
| ^
In file included from /usr/include/c++/9/queue:64,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:86,
from parallelogramisation.cpp:1:
/usr/include/c++/9/bits/stl_queue.h:292:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::pop() [with _Tp = long long int; _Sequence = std::deque<long long int, std::allocator<long long int> >]’
292 | pop()
| ^~~
/usr/include/c++/9/bits/stl_queue.h:292:7: note: candidate expects 0 arguments, 1 provided