0_0_34501925_17307.cpp: In function 'void radix_sort(int*)':
0_0_34501925_17307.cpp:33:3: error: no match for 'operator++' (operand type is 'std::vector<int>')
++radix_bucket[target[i]%base_num+1];
^
0_0_34501925_17307.cpp:35:18: error: no match for 'operator+=' (operand types are 'std::vector<int>' and 'std::vector<int>')
radix_bucket[i]+=radix_bucket[i-1];
^
0_0_34501925_17307.cpp:37:3: error: 'copies' was not declared in this scope
copies[radix_bucket[target[i]%base_num+1]--]=target[i];
^
0_0_34501925_17307.cpp:37:44: error: no 'operator--(int)' declared for postfix '--' [-fpermissive]
copies[radix_bucket[target[i]%base_num+1]--]=target[i];
^
0_0_34501925_17307.cpp:39:13: error: 'copies' was not declared in this scope
target[i]=copies[i];
^
0_0_34501925_17307.cpp:42:3: error: no match for 'operator++' (operand type is 'std::vector<int>')
++radix_bucket[target[i]/base_num+1];
^
0_0_34501925_17307.cpp:44:18: error: no match for 'operator+=' (operand types are 'std::vector<int>' and 'std::vector<int>')
radix_bucket[i]+=radix_bucket[i-1];
^
0_0_34501925_17307.cpp:46:3: error: 'copies' was not declared in this scope
copies[radix_bucket[target[i]/base_num+1]--]=target[i];
^
0_0_34501925_17307.cpp:46:44: error: no 'operator--(int)' declared for postfix '--' [-fpermissive]
copies[radix_bucket[target[i]/base_num+1]--]=target[i];
^
0_0_34501925_17307.cpp:48:13: error: 'copies' was not declared in this scope
target[i]=copies[i];
^
|