Borderou de evaluare (job #406681)

Utilizator avatar madaunibuc Caea Madalina madaunibuc IP ascuns
Problemă Acoperire Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 2 dec. 2018 11:49:26 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:53:48: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] user.cpp:66:41: error: no match for ‘operator<’ in ‘v.std::vector<_Tp, _Alloc>::operator[] [with _Tp = inter, _Alloc = std::allocator<inter>, std::vector<_Tp, _Alloc>::reference = inter&, std::vector<_Tp, _Alloc>::size_type = unsigned int]((v.std::vector<_Tp, _Alloc>::size [with _Tp = inter, _Alloc = std::allocator<inter>, std::vector<_Tp, _Alloc>::size_type = unsigned int]() + 4294967295u)) < interval_initial.inter::b’ user.cpp:66:41: note: candidates are: /usr/include/c++/4.6/bits/stl_pair.h:207:5: note: template<class _T1, class _T2> constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&) /usr/include/c++/4.6/bits/stl_iterator.h:291:5: note: template<class _Iterator> bool std::operator<(const std::reverse_iterator<_Iterator>&, const std::reverse_iterator<_Iterator>&) /usr/include/c++/4.6/bits/stl_iterator.h:341:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::reverse_iterator<_IteratorL>&, const std::reverse_iterator<_IteratorR>&) /usr/include/c++/4.6/bits/stl_iterator.h:1049:5: note: template<class _IteratorL, class _IteratorR> bool std::operator<(const std::move_iterator<_IteratorL>&, const std::move_iterator<_IteratorR>&) /usr/include/c++/4.6/bits/stl_iterator.h:1055:5: note: template<class _Iterator> bool std::operator<(const std::move_iterator<_Iterator>&, const std::move_iterator<_Iterator>&) /usr/include/c++/4.6/bits/basic_string.h:2510:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/include/c++/4.6/bits/basic_string.h:2522:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const std::basic_string<_CharT, _Traits, _Alloc>&, const _CharT*) /usr/include/c++/4.6/bits/basic_string.h:2534:5: note: template<class _CharT, class _Traits, class _Alloc> bool std::operator<(const _CharT*, const std::basic_string<_CharT, _Traits, _Alloc>&) /usr/include/c++/4.6/bits/stl_vector.h:1290:5: note: template<class _Tp, class _Alloc> bool std::operator<(const std::vector<_Tp, _Alloc>&, const std::vector<_Tp, _Alloc>&) /usr/include/c++/4.6/tuple:586:5: note: template<class ... _TElements, class ... _UElements> bool std::operator<(const std::tuple<_TElements ...>&, const std::tuple<_Elements ...>&) user.cpp:71:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]