Borderou de evaluare (job #2085498)
Utilizator | Data | 10 decembrie 2017 12:01:29 | |
---|---|---|---|
Problema | Geometry | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘bool inter(segm, segm)’:
user.cpp:34:9: error: no match for ‘operator==’ (operand types are ‘punct’ and ‘punct’)
if(B==D||A==D||C==B||A==C)
^
user.cpp:34:9: note: candidates are:
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.8/functional:2540:5: note: template<class _Res, class ... _Args> bool std::operator==(std::nullptr_t, const std::function<_Res(_ArgTypes ...)>&)
operator==(nullptr_t, const function<_Res(_Args...)>& __f) noexcept
^
/usr/include/c++/4.8/functional:2540:5: note: template argument deduction/substitution failed:
user.cpp:34:11: note: cannot convert ‘B’ (type ‘punct’) to type ‘std::nullptr_t’
if(B==D||A==D||C==B||A==C)
^
In file included from /usr/include/c++/4.8/bits/stl_algo.h:66:0,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.8/functional:2534:5: note: template<class _Res, class ... _Args> bool std::operator==(const std::function<_Res(_ArgTypes ...)>&, std::nullptr_t)
operator==(const function<_Res(_Args...)>& __f, nullptr_t) noexcept
^
/usr/include/c++/4.8/functional:2534:5: note: template argument deduction/substitution failed:
user.cpp:34:11: note: ‘punct’ is not derived from ‘const std::function<_Res(_ArgTypes ...)>’
if(B==D||A==D||C==B||A==C)
^
In file included from /usr/include/c++/4.8/functional:55:0,
from /usr/include/c++/4.8/bits/stl_algo.h:66,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.8/tuple:811:5: note: template<class ... _TElements, class ... _UElements> constexpr bool std::operator==(const std::tuple<_Elements ...>&, const std::tuple<_Elements ...>&)
operator==(const tuple<_TElements...>& __t,
^
/usr/include/c++/4.8/tuple:811:5: note: template argument deduction/substitution failed:
user.cpp:34:11: note: ‘punct’ is not derived from ‘const std::tuple<_Elements ...>’
if(B==D||A==D||C==B||A==C)
^
In file included from /usr/include/c++/4.8/tuple:39:0,
from /usr/include/c++/4.8/functional:55,
from /usr/include/c++/4.8/bits/stl_algo.h:66,
from /usr/include/c++/4.8/algorithm:62,
from user.cpp:2:
/usr/include/c++/4.8/array:228:5: note: template<class _Tp, unsigned int _Nm> bool std::operator==(const std::array<_Tp, _Nm>&, const std::array<_Tp, _Nm>&)
operator==(const array<_Tp, _Nm>& __one, const array<_Tp, _Nm>& __two)
^
/usr/include/c++/4.8/array:228:5: note: template argument deduction/substitution failed:
user.cpp:34:11: note: ‘punct’ is not derived from ‘const std::array<_Tp, _Nm>’
if(B==D||A==D||C==B||A==C)
^
In file included from /usr/include/c++/4.8/random:52:0,
from /usr/include/c++/4.8/bits/stl_algo.h:65,
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !