Borderou de evaluare (job #544714)

Utilizator alexa_myparadiseAlexutzaaa alexa_myparadise Data 1 martie 2011 23:41:18
Problema Secventa Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: In file included from /usr/include/c++/4.2/backward/iostream.h:31, from user.cpp:1: /usr/include/c++/4.2/backward/backward_warning.h:32:2: warning: #warning This file includes at least one deprecated or antiquated header. Please consider using one of the 32 headers found in section 17.4.1.2 of the C++ standard. Examples include substituting the <X> header for the <X.h> header for C++ includes, or <iostream> instead of the deprecated header <iostream.h>. To disable this warning use -Wno-deprecated. user.cpp: In function 'int main()': user.cpp:12: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:12: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:21: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:23: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:23: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:32: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&) user.cpp:32: error: reference to 'max' is ambiguous user.cpp:7: error: candidates are: int max /usr/include/c++/4.2/bits/stl_algobase.h:246: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.2/bits/stl_algobase.h:204: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)

Ceva nu functioneaza?