Borderou de evaluare (job #382668)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Portofel (clasa a 5-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 12 iun. 2018 17:49:26 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:25: error: reference to ‘max’ is ambiguous
user.cpp:5:27: 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:20:9: error: reference to ‘max’ is ambiguous
user.cpp:5:27: 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:22:10: error: reference to ‘max’ is ambiguous
user.cpp:5:27: 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&)