Borderou de evaluare (job #379732)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trade | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 9 mai 2018 19:24:14 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:17: error: reference to ‘max’ is ambiguous
user.cpp:7:5: error: candidates are: int max [1000000]
/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:19:29: error: reference to ‘max’ is ambiguous
user.cpp:7:5: error: candidates are: int max [1000000]
/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:24:14: error: reference to ‘max’ is ambiguous
user.cpp:7:5: error: candidates are: int max [1000000]
/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&)