Borderou de evaluare (job #2244672)
Utilizator | 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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !