Borderou de evaluare (job #157088)
Utilizator | Data | 12 martie 2008 20:57:32 | |
---|---|---|---|
Problema | Pluton | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare in evaluator:
user.cpp: In function 'int main()':
user.cpp:48: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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:48: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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:66: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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:66: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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:68: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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:68: error: reference to 'max' is ambiguous
user.cpp:11: error: candidates are: long 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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !