In file included from main.cpp:11:
solution.cpp: In member function 'int Solution::compare(std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&, std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)':
solution.cpp:18:33: error: no matching function for call to 'get<1>(std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:216:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)'
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^~~
/usr/include/c++/8/utility:216:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:221:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)'
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^~~
/usr/include/c++/8/utility:221:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:226:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)'
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^~~
/usr/include/c++/8/utility:226:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:231:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)'
get(const std::pair<_Tp1, _Tp2>&& __in) noexcept
^~~
/usr/include/c++/8/utility:231:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:240:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(std::pair<_T1, _T2>&)'
get(pair<_Tp, _Up>& __p) noexcept
^~~
/usr/include/c++/8/utility:240:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:245:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const std::pair<_T1, _T2>&)'
get(const pair<_Tp, _Up>& __p) noexcept
^~~
/usr/include/c++/8/utility:245:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:250:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(std::pair<_T1, _T2>&&)'
get(pair<_Tp, _Up>&& __p) noexcept
^~~
/usr/include/c++/8/utility:250:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:255:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const std::pair<_T1, _T2>&&)'
get(const pair<_Tp, _Up>&& __p) noexcept
^~~
/usr/include/c++/8/utility:255:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:260:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(std::pair<_Up, _Tp>&)'
get(pair<_Up, _Tp>& __p) noexcept
^~~
/usr/include/c++/8/utility:260:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:265:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const std::pair<_Up, _Tp>&)'
get(const pair<_Up, _Tp>& __p) noexcept
^~~
/usr/include/c++/8/utility:265:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:270:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(std::pair<_Up, _Tp>&&)'
get(pair<_Up, _Tp>&& __p) noexcept
^~~
/usr/include/c++/8/utility:270:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:275:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const std::pair<_Up, _Tp>&&)'
get(const pair<_Up, _Tp>&& __p) noexcept
^~~
/usr/include/c++/8/utility:275:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:307:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)'
get(array<_Tp, _Nm>& __arr) noexcept
^~~
/usr/include/c++/8/array:307:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:316:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)'
get(array<_Tp, _Nm>&& __arr) noexcept
^~~
/usr/include/c++/8/array:316:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:324:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)'
get(const array<_Tp, _Nm>& __arr) noexcept
^~~
/usr/include/c++/8/array:324:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:333:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)'
get(const array<_Tp, _Nm>&& __arr) noexcept
^~~
/usr/include/c++/8/array:333:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1314:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)'
get(tuple<_Elements...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1314:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1320:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)'
get(const tuple<_Elements...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1320:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1326:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)'
get(tuple<_Elements...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1326:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1335:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)'
get(const tuple<_Elements...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1335:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:33: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1358:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp& std::get(std::tuple<_Elements ...>&)'
get(tuple<_Types...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1358:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1364:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp&& std::get(std::tuple<_Elements ...>&&)'
get(tuple<_Types...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1364:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1370:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp& std::get(const std::tuple<_Elements ...>&)'
get(const tuple<_Types...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1370:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1377:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp&& std::get(const std::tuple<_Elements ...>&&)'
get(const tuple<_Types...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1377:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: error: no matching function for call to 'get<1>(std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:216:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(std::pair<_Tp1, _Tp2>&)'
get(std::pair<_Tp1, _Tp2>& __in) noexcept
^~~
/usr/include/c++/8/utility:216:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:221:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(std::pair<_Tp1, _Tp2>&&)'
get(std::pair<_Tp1, _Tp2>&& __in) noexcept
^~~
/usr/include/c++/8/utility:221:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:226:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const std::pair<_Tp1, _Tp2>&)'
get(const std::pair<_Tp1, _Tp2>& __in) noexcept
^~~
/usr/include/c++/8/utility:226:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:231:5: note: candidate: 'template<long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const std::pair<_Tp1, _Tp2>&&)'
get(const std::pair<_Tp1, _Tp2>&& __in) noexcept
^~~
/usr/include/c++/8/utility:231:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::pair<_Tp1, _Tp2>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from main.cpp:9:
/usr/include/c++/8/utility:240:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(std::pair<_T1, _T2>&)'
get(pair<_Tp, _Up>& __p) noexcept
^~~
/usr/include/c++/8/utility:240:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:245:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const std::pair<_T1, _T2>&)'
get(const pair<_Tp, _Up>& __p) noexcept
^~~
/usr/include/c++/8/utility:245:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:250:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(std::pair<_T1, _T2>&&)'
get(pair<_Tp, _Up>&& __p) noexcept
^~~
/usr/include/c++/8/utility:250:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:255:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const std::pair<_T1, _T2>&&)'
get(const pair<_Tp, _Up>&& __p) noexcept
^~~
/usr/include/c++/8/utility:255:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:260:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(std::pair<_Up, _Tp>&)'
get(pair<_Up, _Tp>& __p) noexcept
^~~
/usr/include/c++/8/utility:260:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:265:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const std::pair<_Up, _Tp>&)'
get(const pair<_Up, _Tp>& __p) noexcept
^~~
/usr/include/c++/8/utility:265:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:270:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(std::pair<_Up, _Tp>&&)'
get(pair<_Up, _Tp>&& __p) noexcept
^~~
/usr/include/c++/8/utility:270:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/utility:275:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const std::pair<_Up, _Tp>&&)'
get(const pair<_Up, _Tp>&& __p) noexcept
^~~
/usr/include/c++/8/utility:275:5: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:307:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp& std::get(std::array<_Tp, _Nm>&)'
get(array<_Tp, _Nm>& __arr) noexcept
^~~
/usr/include/c++/8/array:307:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:316:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr _Tp&& std::get(std::array<_Tp, _Nm>&&)'
get(array<_Tp, _Nm>&& __arr) noexcept
^~~
/usr/include/c++/8/array:316:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:324:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp& std::get(const std::array<_Tp, _Nm>&)'
get(const array<_Tp, _Nm>& __arr) noexcept
^~~
/usr/include/c++/8/array:324:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from /usr/include/c++/8/tuple:39,
from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/array:333:5: note: candidate: 'template<long unsigned int _Int, class _Tp, long unsigned int _Nm> constexpr const _Tp&& std::get(const std::array<_Tp, _Nm>&&)'
get(const array<_Tp, _Nm>&& __arr) noexcept
^~~
/usr/include/c++/8/array:333:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::array<_Tp, _Nm>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1314:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(std::tuple<_Elements ...>&)'
get(tuple<_Elements...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1314:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1320:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >& std::get(const std::tuple<_Elements ...>&)'
get(const tuple<_Elements...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1320:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1326:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(std::tuple<_Elements ...>&&)'
get(tuple<_Elements...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1326:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1335:5: note: candidate: 'template<long unsigned int __i, class ... _Elements> constexpr std::__tuple_element_t<__i, std::tuple<_Elements ...> >&& std::get(const std::tuple<_Elements ...>&&)'
get(const tuple<_Elements...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1335:5: note: template argument deduction/substitution failed:
In file included from main.cpp:11:
solution.cpp:18:56: note: 'std::vector<std::tuple<int, int, int, int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >' is not derived from 'const std::tuple<_Elements ...>'
if (get<1>(dataFragment1) > get<1>(dataFragmen2)) {
^
In file included from solution.cpp:8,
from main.cpp:11:
/usr/include/c++/8/tuple:1358:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp& std::get(std::tuple<_Elements ...>&)'
get(tuple<_Types...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1358:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1364:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr _Tp&& std::get(std::tuple<_Elements ...>&&)'
get(tuple<_Types...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1364:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1370:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp& std::get(const std::tuple<_Elements ...>&)'
get(const tuple<_Types...>& __t) noexcept
^~~
/usr/include/c++/8/tuple:1370:5: note: template argument deduction/substitution failed:
/usr/include/c++/8/tuple:1377:5: note: candidate: 'template<class _Tp, class ... _Types> constexpr const _Tp&& std::get(const std::tuple<_Elements ...>&&)'
get(const tuple<_Types...>&& __t) noexcept
^~~
/usr/include/c++/8/tuple:1377:5: note: template argument deduction/substitution failed:这是什么问题?
最新发布