Borderou de evaluare (job #688870)
Utilizator | Data | 23 februarie 2012 21:59:32 | |
---|---|---|---|
Problema | Expresie | 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:16: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:16: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:16: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:16: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:19: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:20: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:20: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:22: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
user.cpp:22: error: reference to ‘max’ is ambiguous
user.cpp:3: 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&)
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !