answer.code:159:69: error: no matching function for call to ‘std::priority_queue<std::vector<Point>, std::vector<std::vector<Point> >, <lambda(const Polygon&, const Polygon&)> >::priority_queue()’
159 | priority_queue<Polygon, vector<Polygon>, decltype(greater_by_size)> pq;
| ^~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:597:9: note: candidate: ‘template<class _InputIterator> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(_InputIterator, _InputIterator, const _Compare&, _Sequence&&) [with _InputIterator = _InputIterator; _Tp = std::vector<Point>; _Sequence = std::vector<std::vector<Point> >; _Compare = <lambda(const Polygon&, const Polygon&)>]’
597 | priority_queue(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_queue.h:597:9: note: template argument deduction/substitution failed:
answer.code:159:69: note: candidate expects 4 arguments, 0 provided
159 | priority_queue<Polygon, vector<Polygon>, decltype(greater_by_size)> pq;
| ^~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:586:9: note: candidate: ‘template<class _InputIterator> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(_InputIterator, _InputIterator, const _Compare&, const _Sequence&) [with _InputIterator = _InputIterator; _Tp = std::vector<Point>; _Sequence = std::vector<std::vector<Point> >; _Compare = <lambda(const Polygon&, const Polygon&)>]’
586 | priority_queue(_InputIterator __first, _InputIterator __last,
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_queue.h:586:9: note: template argument deduction/substitution failed:
answer.code:159:69: note: candidate expects 4 arguments, 0 provided
159 | priority_queue<Polygon, vector<Polygon>, decltype(greater_by_size)> pq;
| ^~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:554:9: note: candidate: ‘template<class _Alloc, class _Requires> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(std::priority_queue<_Tp, _Sequence, _Compare>&&, const _Alloc&) [with _Alloc = _Alloc; _Requires = _Requires; _Tp = std::vector<Point>; _Sequence = std::vector<std::vector<Point> >; _Compare = <lambda(const Polygon&, const Polygon&)>]’
554 | priority_queue(priority_queue&& __q, const _Alloc& __a)
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_queue.h:554:9: note: template argument deduction/substitution failed:
answer.code:159:69: note: candidate expects 2 arguments, 0 provided
159 | priority_queue<Polygon, vector<Polygon>, decltype(greater_by_size)> pq;
| ^~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:550:9: note: candidate: ‘template<class _Alloc, class _Requires> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(const std::priority_queue<_Tp, _Sequence, _Compare>&, const _Alloc&) [with _Alloc = _Alloc; _Requires = _Requires; _Tp = std::vector<Point>; _Sequence = std::vector<std::vector<Point> >; _Compare = <lambda(const Polygon&, const Polygon&)>]’
550 | priority_queue(const priority_queue& __q, const _Alloc& __a)
| ^~~~~~~~~~~~~~
/usr/include/c++/11/bits/stl_queue.h:550:9: note: template argument deduction/substitution failed:
answer.code:159:69: note: candidate expects 2 arguments, 0 provided
159 | priority_queue<Polygon, vector<Polygon>, decltype(greater_by_size)> pq;
| ^~
In file included from /usr/include/c++/11/queue:64,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:86,
from answer.code:1:
/usr/include/c++/11/bits/stl_queue.h:545:9: note: candidate: ‘template<class _Alloc, class _Requires> std::priority_queue<_Tp, _Sequence, _Compare>::priority_queue(const _Compare&, _Sequence&&, const _Alloc&) [with _Alloc = _Alloc; _Requires = _Requires; _Tp = std::vector<Point>; _Sequence = std::vector<std::vector<Point> >; _Compare = <lambda(const Polygon&, const Polygon&)>]’
545 | priority_queue(const _Compare& __x, _Sequence&& __c, const _Alloc& __a)
| ^~~~~~...