In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:71,
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/predefined_ops.h: In instantiation of 'constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = std::pair<long long int, long long int>*; _Iterator2 = std::pair<long long int, long long int>*; _Compare = bool (*)(std::pair<long long int, int>&, std::pair<long long int, int>&)]':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1819:14: required from 'constexpr void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1859:25: required from 'constexpr void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1950:31: required from 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:4894:18: required from 'constexpr void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = pair<long long int, long long int>*; _Compare = bool (*)(pair<long long int, int>&, pair<long long int, int>&)]'
0_0_38715253_30003.cpp:26:7: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/predefined_ops.h:158:30: error: cannot bind non-const lvalue reference of type 'std::pair<long long int, int>&' to an rvalue of type 'std::pair<long long int, int>'
158 | { return bool(_M_comp(*__it1, *__it2)); }
| ~~~~~~~^~~~~~~~~~~~~~~~
In file included from gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algobase.h:64:
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:330:9: note: after user-defined conversion: 'constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = long long int; _U2 = long long int; _T1 = long long int; _T2 = int]'
330 | pair(const pair<_U1, _U2>& __p)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/predefined_ops.h: In instantiation of 'constexpr bool __gnu_cxx::__ops::_Val_comp_iter<_Compare>::operator()(_Value&, _Iterator) [with _Value = std::pair<long long int, long long int>; _Iterator = std::pair<long long int, long long int>*; _Compare = bool (*)(std::pair<long long int, int>&, std::pair<long long int, int>&)]':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1799:20: required from 'constexpr void std::__unguarded_linear_insert(_RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Val_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1827:36: required from 'constexpr void std::__insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1859:25: required from 'constexpr void std::__final_insertion_sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1950:31: required from 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:4894:18: required from 'constexpr void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = pair<long long int, long long int>*; _Compare = bool (*)(pair<long long int, int>&, pair<long long int, int>&)]'
0_0_38715253_30003.cpp:26:7: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/predefined_ops.h:240:30: error: cannot bind non-const lvalue reference of type 'std::pair<long long int, int>&' to an rvalue of type 'std::pair<long long int, int>'
240 | { return bool(_M_comp(__val, *__it)); }
| ~~~~~~~^~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:330:9: note: after user-defined conversion: 'constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1 = long long int; _U2 = long long int; _T1 = long long int; _T2 = int]'
330 | pair(const pair<_U1, _U2>& __p)
| ^~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/predefined_ops.h: In instantiation of 'constexpr bool __gnu_cxx::__ops::_Iter_comp_val<_Compare>::operator()(_Iterator, _Value&) [with _Iterator = std::pair<long long int, long long int>*; _Value = std::pair<long long int, long long int>; _Compare = bool (*)(std::pair<long long int, int>&, std::pair<long long int, int>&)]':
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_heap.h:140:48: required from 'constexpr void std::__push_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare&) [with _RandomAccessIterator = pair<long long int, long long int>*; _Distance = long long int; _Tp = pair<long long int, long long int>; _Compare = __gnu_cxx::__ops::_Iter_comp_val<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_heap.h:247:23: required from 'constexpr void std::__adjust_heap(_RandomAccessIterator, _Distance, _Distance, _Tp, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Distance = long long int; _Tp = pair<long long int, long long int>; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_heap.h:356:22: required from 'constexpr void std::__make_heap(_RandomAccessIterator, _RandomAccessIterator, _Compare&) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1635:23: required from 'constexpr void std::__heap_select(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1910:25: required from 'constexpr void std::__partial_sort(_RandomAccessIterator, _RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1926:27: required from 'constexpr void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Size = long long int; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:1947:25: required from 'constexpr void std::__sort(_RandomAccessIterator, _RandomAccessIterator, _Compare) [with _RandomAccessIterator = pair<long long int, long long int>*; _Compare = __gnu_cxx::__ops::_Iter_comp_iter<bool (*)(pair<long long int, int>&, pair<long long int, int>&)>]'
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_algo.h:4894:18: required from 'constexpr void std::sort(_RAIter, _RAIter, _Compare) [with _RAIter = pair<long long int, long long int>*; _Compare = bool (*)(pair<long long int, int>&, pair<long long int, int>&)]'
0_0_38715253_30003.cpp:26:7: required from here
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/predefined_ops.h:196:30: error: cannot bind non-const lvalue reference of type 'std::pair<long long int, int>&' to an rvalue of type 'std::pair<long long int, int>'
196 | { return bool(_M_comp(*__it, __val)); }
| ~~~~~~~^~~~~~~~~~~~~~
gcc-13.1.0/lib/gcc/x86_64-w64-mingw32/13.1.0/include/c++/bits/stl_pair.h:330:9: note: after user-defined conversion: 'constexpr std::pair<_T1, _T2>::pair(const std::pair<_U1, _U2>&) [with _U1
|