Problem lightningrod
User haydendoo
Submission Time 2023-04-26 08:11:10
Score 0
Max Time N/A
Max Memory N/A

Compile Error

lightningrod.cpp: In instantiation of ‘void radix_sort(std::vector<_Tp>&) [with T = std::pair<int, int>]’:
lightningrod.cpp:87:19: required from here
lightningrod.cpp:52:53: error: no matching function for call to ‘std::pair<int, int>::pair(int)’
52 | const int mask = (size_t(1) << (end - start)) - T(1);
| ^~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:64,
from /usr/include/c++/9/bits/specfun.h:45,
from /usr/include/c++/9/cmath:1927,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:41,
from lightningrod.cpp:1:
/usr/include/c++/9/bits/stl_pair.h:436:9: note: candidate: ‘template<class ... _Args1, long unsigned int ..._Indexes1, class ... _Args2, long unsigned int ..._Indexes2> std::pair<_T1, _T2>::pair(std::tuple<_Args1 ...>&, std::tuple<_Args2 ...>&, s