0_0_38725389_14721.cpp: In function 'int main()':
0_0_38725389_14721.cpp:96:24: error: no matching function for call to 'get(int&, int&)'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:60,
from .\stdc++.h:51:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1035:5: note: candidate: 'template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(pair<_Tp1, _Tp2>&)'
1035 | get(pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1035:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_Tp1, _Tp2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1040:5: note: candidate: 'template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(pair<_Tp1, _Tp2>&&)'
1040 | get(pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1040:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_Tp1, _Tp2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1045:5: note: candidate: 'template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type& std::get(const pair<_Tp1, _Tp2>&)'
1045 | get(const pair<_Tp1, _Tp2>& __in) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1045:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_Tp1, _Tp2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1050:5: note: candidate: 'template<long long unsigned int _Int, class _Tp1, class _Tp2> constexpr const typename std::tuple_element<_Int, std::pair<_Tp1, _Tp2> >::type&& std::get(const pair<_Tp1, _Tp2>&&)'
1050 | get(const pair<_Tp1, _Tp2>&& __in) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1050:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_Tp1, _Tp2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1059:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_T1, _T2>&)'
1059 | get(pair<_Tp, _Up>& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1059:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_T1, _T2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1064:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_T1, _T2>&)'
1064 | get(const pair<_Tp, _Up>& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1064:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_T1, _T2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1069:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_T1, _T2>&&)'
1069 | get(pair<_Tp, _Up>&& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1069:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_T1, _T2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1074:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_T1, _T2>&&)'
1074 | get(const pair<_Tp, _Up>&& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1074:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_T1, _T2>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1079:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp& std::get(pair<_Up, _Tp>&)'
1079 | get(pair<_Up, _Tp>& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1079:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_Up, _Tp>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1084:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp& std::get(const pair<_Up, _Tp>&)'
1084 | get(const pair<_Up, _Tp>& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1084:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_Up, _Tp>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1089:5: note: candidate: 'template<class _Tp, class _Up> constexpr _Tp&& std::get(pair<_Up, _Tp>&&)'
1089 | get(pair<_Up, _Tp>&& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1089:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::pair<_Up, _Tp>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1094:5: note: candidate: 'template<class _Tp, class _Up> constexpr const _Tp&& std::get(const pair<_Up, _Tp>&&)'
1094 | get(const pair<_Up, _Tp>&& __p) noexcept
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:1094:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::pair<_Up, _Tp>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_algo.h:39,
from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/algorithm:63:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:444:5: note: candidate: 'template<long long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(subrange<_It, _Sent, _Kind>&&)'
444 | get(subrange<_It, _Sent, _Kind>&& __r)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:444:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'std::ranges::subrange<_It, _Sent, _Kind>' and 'int'
96 | if (get(i, j)) add_edge(i, j + n, 1, -v[i] * (n + 1) - pp);
| ~~~^~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:433:5: note: candidate: 'template<long long unsigned int _Num, class _It, class _Sent, std::ranges::subrange_kind _Kind> requires _Num < 2 constexpr auto std::ranges::get(const subrange<_It, _Sent, _Kind>&)'
433 | get(const subrange<_It, _Sent, _Kind>& __r)
| ^~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/ranges_util.h:433:5: note: template argument deduction/substitution failed:
0_0_38725389_14721.cpp:96:24: note: mismatched types 'const std::ranges::subrange<_It, _Sent, _Kind>' and 'int'
96 |
|