Borderou de evaluare (job #647360)

Utilizator VladMSBonta vlad valentin VladMS Data 11 decembrie 2011 13:57:36
Problema Retea2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:18: error: ‘abs’ was not declared in this scope user.cpp:21: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:21: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:21: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:21: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:22: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:22: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:34: error: ‘abs’ was not declared in this scope user.cpp:37: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:37: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:39: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:39: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:47: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare) /usr/include/c++/4.4/bits/stl_algobase.h:186: error: template<class _Tp> const _Tp& std::min(const _Tp&, const _Tp&) user.cpp:47: error: reference to ‘min’ is ambiguous user.cpp:7: error: candidates are: float min [2000] /usr/include/c++/4.4/bits/stl_algobase.h:232: error: template<class _Tp, class _Compare> const _Tp& std::min(const _Tp&, const _Tp&, _Compare)

Ceva nu functioneaza?