Borderou de evaluare (job #498168)
Utilizator | Data | 4 noiembrie 2010 12:49:07 | |
---|---|---|---|
Problema | Loto | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
/usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&) [with _Tp = suma]':
/usr/include/c++/4.2/bits/stl_algo.h:2758: instantiated from 'void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<suma*, std::vector<suma, std::allocator<suma> > >, _Size = int]'
/usr/include/c++/4.2/bits/stl_algo.h:2829: instantiated from 'void std::sort(_RandomAccessIterator, _RandomAccessIterator) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<suma*, std::vector<suma, std::allocator<suma> > >]'
user.cpp:49: instantiated from here
/usr/include/c++/4.2/bits/stl_algo.h:91: error: passing 'const suma' as 'this' argument of 'bool suma::operator<(const suma&)' discards qualifiers
/usr/include/c++/4.2/bits/stl_algo.h:92: error: passing 'const suma' as 'this' argument of 'bool suma::operator<(const suma&)' discards qualifiers
/usr/include/c++/4.2/bits/stl_algo.h:94: error: passing 'const suma' as 'this' argument of 'bool suma::operator<(const suma&)' discards qualifiers
/usr/include/c++/4.2/bits/stl_algo.h:98: error: passing 'const suma' as 'this' argument of 'bool suma::operator<(const suma&)' discards qualifiers
/usr/include/c++/4.2/bits/stl_algo.h:100: error: passing 'const suma' as 'this' argument of 'bool suma::operator<(const suma&)' discards qualifiers
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !