Borderou de evaluare (job #930971)
Utilizator | Data | 27 martie 2013 22:05:29 | |
---|---|---|---|
Problema | Arbore partial de cost minim | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
In file included from /usr/include/c++/4.4/algorithm:62,
from user.cpp:3:
/usr/include/c++/4.4/bits/stl_algo.h: In function ‘const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&) [with _Tp = muchie]’:
/usr/include/c++/4.4/bits/stl_algo.h:2268: instantiated from ‘void std::__introsort_loop(_RandomAccessIterator, _RandomAccessIterator, _Size) [with _RandomAccessIterator = __gnu_cxx::__normal_iterator<muchie*, std::vector<muchie, std::allocator<muchie> > >, _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = __gnu_cxx::__normal_iterator<muchie*, std::vector<muchie, std::allocator<muchie> > >]’
user.cpp:50: instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:89: error: passing ‘const muchie’ as ‘this’ argument of ‘int muchie::operator<(muchie)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:90: error: passing ‘const muchie’ as ‘this’ argument of ‘int muchie::operator<(muchie)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:92: error: passing ‘const muchie’ as ‘this’ argument of ‘int muchie::operator<(muchie)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:96: error: passing ‘const muchie’ as ‘this’ argument of ‘int muchie::operator<(muchie)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:98: error: passing ‘const muchie’ as ‘this’ argument of ‘int muchie::operator<(muchie)’ discards qualifiers
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !