Borderou de evaluare (job #338756)

Utilizator prdianaProdan Diana prdiana Data 6 august 2009 20:24:08
Problema Arbore partial de cost minim Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:79:2: warning: no newline at end of file user.cpp: In function 'int main()': user.cpp:74: warning: comparison between signed and unsigned integer expressions /usr/include/c++/4.2/bits/stl_algo.h: In function 'const _Tp& std::__median(const _Tp&, const _Tp&, const _Tp&) [with _Tp = muchie]': /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<muchie*, std::vector<muchie, std::allocator<muchie> > >, _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<muchie*, std::vector<muchie, std::allocator<muchie> > >]' user.cpp:50: instantiated from here /usr/include/c++/4.2/bits/stl_algo.h:91: error: no match for 'operator<' in '__a < __b' user.cpp:14: note: candidates are: bool muchie::operator<(muchie&) /usr/include/c++/4.2/bits/stl_algo.h:92: error: no match for 'operator<' in '__b < __c' user.cpp:14: note: candidates are: bool muchie::operator<(muchie&) /usr/include/c++/4.2/bits/stl_algo.h:94: error: no match for 'operator<' in '__a < __c' user.cpp:14: note: candidates are: bool muchie::operator<(muchie&) /usr/include/c++/4.2/bits/stl_algo.h:98: error: no match for 'operator<' in '__a < __c' user.cpp:14: note: candidates are: bool muchie::operator<(muchie&) /usr/include/c++/4.2/bits/stl_algo.h:100: error: no match for 'operator<' in '__b < __c' user.cpp:14: note: candidates are: bool muchie::operator<(muchie&)

Ceva nu functioneaza?