Borderou de evaluare (job #361016)
Utilizator | Data | 3 noiembrie 2009 13:56:54 | |
---|---|---|---|
Problema | Asmax | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function 'int recur(int)':
user.cpp:22: error: reference to 'max' is ambiguous
user.cpp:8: 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:22: error: reference to 'max' is ambiguous
user.cpp:8: 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:8: 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:8: 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: In function 'int main()':
user.cpp:31: warning: format '%ld' expects type 'long int*', but argument 2 has type 'int*'
user.cpp:41: error: reference to 'max' is ambiguous
user.cpp:8: 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:41: error: reference to 'max' is ambiguous
user.cpp:8: 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?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !