Borderou de evaluare (job #72923)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Xy (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 iun. 2014 11:31:33 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:55:8: error: reference to ‘max’ is ambiguous
user.cpp:5:39: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:55:12: error: reference to ‘max’ is ambiguous
user.cpp:5:39: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)
user.cpp:62:5: error: reference to ‘max’ is ambiguous
user.cpp:5:39: error: candidates are: int max
/usr/include/c++/4.6/bits/stl_algobase.h:254:5: error: template<class _Tp, class _Compare> const _Tp& std::max(const _Tp&, const _Tp&, _Compare)
/usr/include/c++/4.6/bits/stl_algobase.h:210:5: error: template<class _Tp> const _Tp& std::max(const _Tp&, const _Tp&)