Borderou de evaluare (job #627114)
Utilizator | Data | 29 octombrie 2011 00:17:28 | |
---|---|---|---|
Problema | Arbori de intervale | Status | done |
Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘void interogare(int, int, int)’:
user.cpp:31: error: reference to ‘max’ is ambiguous
user.cpp:8: 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:31: error: reference to ‘max’ is ambiguous
user.cpp:8: 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:31: error: reference to ‘max’ is ambiguous
user.cpp:8: 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: In function ‘int main()’:
user.cpp:65: error: reference to ‘max’ is ambiguous
user.cpp:8: 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:65: error: reference to ‘max’ is ambiguous
user.cpp:8: 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:67: error: reference to ‘max’ is ambiguous
user.cpp:8: 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:67: error: reference to ‘max’ is ambiguous
user.cpp:8: 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 !