Borderou de evaluare (job #2244672)

Utilizator cosmin.pascaruPascaru Cosmin cosmin.pascaru Data 23 septembrie 2018 13:46:36
Problema Radix Sort Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:132:12: error: ‘class RadixSorter<char, char>’ has no member named ‘radixsort’; did you mean ‘RadixSorter’? sorter.radixsort(vc); ^~~~~~~~~ user.cpp:134:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] for (int idx = 0; idx < v.size(); idx += 10) { ~~~~^~~~~~~~~~ user.cpp: In instantiation of ‘void RadixSorter<T, typename std::enable_if<((sizeof (T) % 2) == 0)>::type>::resize(int) [with T = int; typename std::enable_if<((sizeof (T) % 2) == 0)>::type = void]’: user.cpp:52:15: required from ‘void RadixSorter<T, typename std::enable_if<((sizeof (T) % 2) == 0)>::type>::radixsort(std::vector<_Tp>&) [with T = int; typename std::enable_if<((sizeof (T) % 2) == 0)>::type = void]’ user.cpp:128:35: required from here user.cpp:99:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (aux_.size() < n) {

Ceva nu functioneaza?