Borderou de evaluare (job #823903)

Utilizator jumper007Raul Butuc jumper007 Data 25 noiembrie 2012 18:32:45
Problema Granita Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void processAndWrite(std::vector<Boundary, std::allocator<Boundary> >&, int&)’: user.cpp:52: error: ‘INT_MAX’ was not declared in this scope user.cpp:57: warning: comparison between signed and unsigned integer expressions user.cpp:66: warning: comparison between signed and unsigned integer expressions 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 = Boundary]’: /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<Boundary*, std::vector<Boundary, std::allocator<Boundary> > >, _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<Boundary*, std::vector<Boundary, std::allocator<Boundary> > >]’ user.cpp:56: instantiated from here /usr/include/c++/4.4/bits/stl_algo.h:89: error: no match for ‘operator<’ in ‘__a < __b’ user.cpp:20: note: candidates are: bool operator<(Boundary&, Boundary&) /usr/include/c++/4.4/bits/stl_algo.h:90: error: no match for ‘operator<’ in ‘__b < __c’ user.cpp:20: note: candidates are: bool operator<(Boundary&, Boundary&) /usr/include/c++/4.4/bits/stl_algo.h:92: error: no match for ‘operator<’ in ‘__a < __c’ user.cpp:20: note: candidates are: bool operator<(Boundary&, Boundary&) /usr/include/c++/4.4/bits/stl_algo.h:96: error: no match for ‘operator<’ in ‘__a < __c’ user.cpp:20: note: candidates are: bool operator<(Boundary&, Boundary&) /usr/include/c++/4.4/bits/stl_algo.h:98: error: no match for ‘operator<’ in ‘__b < __c’ user.cpp:20: note: candidates are: bool operator<(Boundary&, Boundary&)

Ceva nu functioneaza?