In file included from /usr/include/c++/11/ext/alloc_traits.h:34,
from /usr/include/c++/11/bits/basic_string.h:40,
from /usr/include/c++/11/string:55,
from /usr/include/c++/11/bits/locale_classes.h:40,
from /usr/include/c++/11/bits/ios_base.h:41,
from /usr/include/c++/11/ios:42,
from /usr/include/c++/11/istream:38,
from /usr/include/c++/11/sstream:38,
from /usr/include/c++/11/complex:45,
from /usr/include/c++/11/ccomplex:39,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:54,
from answer.code:1:
/usr/include/c++/11/bits/alloc_traits.h: In instantiation of ‘static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, std::vector<long long int> >; _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<int, std::vector<long long int> > >]’:
/usr/include/c++/11/bits/vector.tcc:115:30: required from ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; _Alloc = std::allocator<std::pair<int, std::vector<long long int> > >; std::vector<_Tp, _Alloc>::reference = std::pair<int, std::vector<long long int> >&]’
/usr/include/c++/11/bits/stl_queue.h:658:18: required from ‘void std::priority_queue<_Tp, _Sequence, _Compare>::emplace(_Args&& ...) [with _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; _Sequence = std::vector<std::pair<int, std::vector<long long int> > >; _Compare = std::greater<void>]’
answer.code:57:12: required from here
/usr/include/c++/11/bits/alloc_traits.h:518:28: error: no matching function for call to ‘construct_at(std::pair<int, std::vector<long long int> >*&, int, std::vector<int>&)’
518 | std::construct_at(__p, std::forward<_Args>(__args)...);
| ~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/11/bits/stl_iterator.h:85,
from /usr/include/c++/11/bits/stl_algobase.h:67,
from /usr/include/c++/11/bits/specfun.h:45,
from /usr/include/c++/11/cmath:1935,
from /usr/include/x86_64-linux-gnu/c++/11/bits/stdc++.h:41,
from answer.code:1:
/usr/include/c++/11/bits/stl_construct.h:94:5: note: candidate: ‘template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...)’
94 | construct_at(_Tp* __location, _Args&&... __args)
| ^~~~~~~~~~~~
/usr/include/c++/11/bits/stl_construct.h:94:5: note: template argument deduction/substitution failed:
/usr/include/c++/11/bits/stl_construct.h: In substitution of ‘template<class _Tp, class ... _Args> constexpr decltype (::new(void*(0)) _Tp) std::construct_at(_Tp*, _Args&& ...) [with _Tp = std::pair<int, std::vector<long long int> >; _Args = {int, std::vector<int, std::allocator<int> >&}]’:
/usr/include/c++/11/bits/alloc_traits.h:518:21: required from ‘static constexpr void std::allocator_traits<std::allocator<_CharT> >::construct(std::allocator_traits<std::allocator<_CharT> >::allocator_type&, _Up*, _Args&& ...) [with _Up = std::pair<int, std::vector<long long int> >; _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; std::allocator_traits<std::allocator<_CharT> >::allocator_type = std::allocator<std::pair<int, std::vector<long long int> > >]’
/usr/include/c++/11/bits/vector.tcc:115:30: required from ‘std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::emplace_back(_Args&& ...) [with _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; _Alloc = std::allocator<std::pair<int, std::vector<long long int> > >; std::vector<_Tp, _Alloc>::reference = std::pair<int, std::vector<long long int> >&]’
/usr/include/c++/11/bits/stl_queue.h:658:18: required from ‘void std::priority_queue<_Tp, _Sequence, _Compare>::emplace(_Args&& ...) [with _Args = {int, std::vector<int, std::allocator<int> >&}; _Tp = std::pair<int, std::vector<long long int> >; _Sequence = std::vector<std::pair<int, std::vector<long long int> > >; _Compare = std::greater<void>]’
answer.code:57:12: required from here
/usr/include/c++/11/bits/stl_construct.h:96:17: error: no matching function for call to ‘std::pair<int, std::vector<long long int> >::pair(int, std::vector<int>&)’
96 | -> decltype(::new((void*)0) _Tp(std::declval<_Args>()...))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...