Borderou de evaluare (job #742571)
Utilizator | Data | 30 aprilie 2012 17:26:21 | |
---|---|---|---|
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 = muchie*, _Size = int]’
/usr/include/c++/4.4/bits/stl_algo.h:5220: instantiated from ‘void std::sort(_RAIter, _RAIter) [with _RAIter = muchie*]’
user.cpp:64: instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:89: error: passing ‘const muchie’ as ‘this’ argument of ‘bool muchie::operator<(const muchie&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:90: error: passing ‘const muchie’ as ‘this’ argument of ‘bool muchie::operator<(const muchie&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:92: error: passing ‘const muchie’ as ‘this’ argument of ‘bool muchie::operator<(const muchie&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:96: error: passing ‘const muchie’ as ‘this’ argument of ‘bool muchie::operator<(const muchie&)’ discards qualifiers
/usr/include/c++/4.4/bits/stl_algo.h:98: error: passing ‘const muchie’ as ‘this’ argument of ‘bool muchie::operator<(const muchie&)’ discards qualifiers
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !