Problem thumper2
User maximushartanto
Submission Time 2026-02-18 18:14:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

thumper2.cpp: In function ‘int main()’:
thumper2.cpp:69:16: error: no matching function for call to ‘sort(std::vector<long long int>&)’
69 | radix::sort(us);
| ^
thumper2.cpp:21:10: note: candidate: ‘void radix::sort(std::vector<int>&)’
21 | void sort(vector<int32_t>& a) {
| ^~~~
thumper2.cpp:21:32: note: no known conversion for argument 1 from ‘std::vector<long long int>’ to ‘std::vector<int>&’
21 | void sort(vector<int32_t>& a) {
| ~~~~~~~~~~~~~~~~~^
thumper2.cpp:29:10: note: candidate: ‘void radix::sort(std::vector<unsigned int>&)’
29 | void sort(vector<uint32_t>& a) {
| ^~~~
thumper2.cpp:29:33: note: no known conversion for argument 1 from ‘std::vector<long long int>’ to ‘std::vector<unsigned int>&’
29 | void sort(vector<uint32_t>& a) {
| ~~~~~~~~~