.campion
conectare | înregistrare | căutare
Pagina principală » Surse trimise » Sursa 620425

ultima problemă
grupă: mică
sursă: OMI 2016
ultimul articol
autor: Prof. Radu Vişinescu
ultimul software
autor: Prof. Emanuela Cerchez
Sursa 620425
Concurent: Andrei Pricop (pricop.andrei)Progres: evaluare completă
Problemă: prietenPunctaj exemplu: 0
Limbaj: cppPunctaj final: 0
Dată: 20 oct 2021, 15:51
Mesaj evaluator:
prieten.cpp: In function 'int main()': prieten.cpp:17: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:18: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:18: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:20: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:20: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:22: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:22: error: reference to 'max' is ambiguous prieten.cpp:9: error: candidates are: int max /usr/include/c++/4.4/bits/stl_algobase.h:253: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:209: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) prieten.cpp:29: error: 'else' without a previous 'if'
ajutor