Borderou de evaluare (job #824022)
Utilizator | Data | 25 noiembrie 2012 20:08:08 | |
---|---|---|---|
Problema | Lungimi de interval | 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<Interval, std::allocator<Interval> >&)’:
user.cpp:58: warning: comparison between signed and unsigned integer expressions
user.cpp: In function ‘int main(int, char**)’:
user.cpp:82: 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 = Interval]’:
/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<Interval*, std::vector<Interval, std::allocator<Interval> > >, _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<Interval*, std::vector<Interval, std::allocator<Interval> > >]’
user.cpp:55: instantiated from here
/usr/include/c++/4.4/bits/stl_algo.h:89: error: no match for ‘operator<’ in ‘__a < __b’
user.cpp:22: note: candidates are: bool operator<(Interval&, Interval&)
/usr/include/c++/4.4/bits/stl_algo.h:90: error: no match for ‘operator<’ in ‘__b < __c’
user.cpp:22: note: candidates are: bool operator<(Interval&, Interval&)
/usr/include/c++/4.4/bits/stl_algo.h:92: error: no match for ‘operator<’ in ‘__a < __c’
user.cpp:22: note: candidates are: bool operator<(Interval&, Interval&)
/usr/include/c++/4.4/bits/stl_algo.h:96: error: no match for ‘operator<’ in ‘__a < __c’
user.cpp:22: note: candidates are: bool operator<(Interval&, Interval&)
/usr/include/c++/4.4/bits/stl_algo.h:98: error: no match for ‘operator<’ in ‘__b < __c’
user.cpp:22: note: candidates are: bool operator<(Interval&, Interval&)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !