Borderou de evaluare (job #567423)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Matrice Zebră (clasa a 6-a) | Compilator | cpp |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 oct. 2020 10:58:20 | Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:30:2: error: reference to ‘max’ is ambiguous
user.cpp:9:44: 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:33:11: error: reference to ‘max’ is ambiguous
user.cpp:9:44: 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:35:18: error: reference to ‘max’ is ambiguous
user.cpp:9:44: 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:45:3: error: ‘i’ was not declared in this scope
user.cpp:46:3: error: ‘j’ was not declared in this scope
user.cpp:50:17: error: reference to ‘max’ is ambiguous
user.cpp:9:44: 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:92:8: error: ‘i’ was not declared in this scope
user.cpp:93:9: error: ‘j’ was not declared in this scope